Class TweakableBlockCipherParameters

    • Constructor Detail

      • TweakableBlockCipherParameters

        public TweakableBlockCipherParameters​(KeyParameter key,
                                              byte[] tweak)
    • Method Detail

      • getKey

        public KeyParameter getKey()
        Gets the key.
        Returns:
        the key to use, or null to use the current key.
      • getTweak

        public byte[] getTweak()
        Gets the tweak value.
        Returns:
        the tweak to use, or null to use the current tweak.