Class Md5DesLayer

  • All Implemented Interfaces:
    java.lang.Runnable, Layer

    public class Md5DesLayer
    extends AbstractCipherLayer
    MD5 DES Layer class.

    SPDX-License-Identifier: MIT

    Author:
    Kai Kretschmann
    • Field Detail

      • LAYERNAME

        public static final java.lang.String LAYERNAME
        static name of the layer.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Md5DesLayer

        public Md5DesLayer()
        Constructor of Md5DesLayer.
    • Method Detail

      • init

        public final void init​(java.lang.String data)
        init function.
        Parameters:
        data - to initialize the crypt value.
      • getMyAlg

        protected final java.lang.String getMyAlg()
        Description copied from class: AbstractCipherLayer
        Abstract base method for getting algorithm name back.
        Specified by:
        getMyAlg in class AbstractCipherLayer
        Returns:
        String
      • getMyKeyAlg

        protected final java.lang.String getMyKeyAlg()
        Description copied from class: AbstractCipherLayer
        Abstract base method for getting key algorithm name back.
        Specified by:
        getMyKeyAlg in class AbstractCipherLayer
        Returns:
        String
      • equals

        public boolean equals​(java.lang.Object o)
        Override equals method from object class.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - object to compare with
        Returns:
        true or false
      • hashCode

        public int hashCode()
        Override equals method from object class.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hash of properties