Class DESede

  • All Implemented Interfaces:
    BlockCipher

    public class DESede
    extends DES
    DESede.
    • Constructor Summary

      Constructors 
      Constructor Description
      DESede()
      standard constructor.
    • Constructor Detail

      • DESede

        public DESede()
        standard constructor.
    • Method Detail

      • init

        public void init​(boolean encrypting,
                         byte[] key)
        initialise a DES cipher.
        Specified by:
        init in interface BlockCipher
        Overrides:
        init in class DES
        Parameters:
        encrypting - whether or not we are for encryption.
        key - the parameters required to set up the cipher.
        Throws:
        java.lang.IllegalArgumentException - if the params argument is inappropriate.
      • getAlgorithmName

        public java.lang.String getAlgorithmName()
        Overrides:
        getAlgorithmName in class DES
      • reset

        public void reset()
        Overrides:
        reset in class DES