Class DESKeyGenerator

    • Constructor Detail

      • DESKeyGenerator

        public DESKeyGenerator()
    • Method Detail

      • init

        public void init​(KeyGenerationParameters param)
        initialise the key generator - if strength is set to zero the key generated will be 64 bits in size, otherwise strength can be 64 or 56 bits (if you don't count the parity bits).
        Overrides:
        init in class CipherKeyGenerator
        Parameters:
        param - the parameters to be used for key generation