Class AesCbcLayer

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

    public class AesCbcLayer
    extends AbstractCipherLayer
    AES 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

      • AesCbcLayer

        public AesCbcLayer()
        Constructor of AesLayer.
    • Method Detail

      • init

        public final void init​(java.lang.String data)
        init function. Overrides base init but uses it for setting base values.
        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