Uses of Interface
org.cryptacular.adapter.BlockCipherAdapter
Packages that use BlockCipherAdapter
-
Uses of BlockCipherAdapter in org.cryptacular.adapter
Classes in org.cryptacular.adapter that implement BlockCipherAdapterModifier and TypeClassDescriptionclassAdapts aAEADBlockCipherAdapter.classAdapts aBufferedBlockCipher. -
Uses of BlockCipherAdapter in org.cryptacular.bean
Methods in org.cryptacular.bean that return BlockCipherAdapterModifier and TypeMethodDescriptionprotected abstract BlockCipherAdapterAbstractBlockCipherBean.newCipher(CiphertextHeader header, boolean mode) Creates a new cipher adapter instance suitable for the block cipher used by this class. -
Uses of BlockCipherAdapter in org.cryptacular.util
Methods in org.cryptacular.util with parameters of type BlockCipherAdapterModifier and TypeMethodDescriptionprivate static byte[]CipherUtil.decrypt(BlockCipherAdapter cipher, byte[] data, int inOff) Decrypts the given data.private static byte[]CipherUtil.encrypt(BlockCipherAdapter cipher, byte[] header, byte[] data) Encrypts the given data.private static voidCipherUtil.process(BlockCipherAdapter cipher, InputStream input, OutputStream output) Performs encryption or decryption on the given input stream based on the underlying cipher mode and writes the result to the given output stream.