CipherService using the AES cipher algorithm for all encryption, decryption, and key operations.CipherService instance using the AES cipher algorithm with the following
important cipher default attributes:
Attribute
Value
keySize
128 bits
blockSize
128 bits (required for AES
mode
CBC*
paddingScheme
PKCS5
initializationVectorSize
128 bits
generateInitializationVectors
true**
* The CBC operation mode is used instead of the JDK default ECB to
ensure strong encryption.CipherService using the Blowfish cipher algorithm for all encryption, decryption, and key operations.CipherService instance using the Blowfish cipher algorithm with the following
important cipher default attributes:
Attribute
Value
keySize
128 bits
blockSize
64 bits (required for Blowfish)
mode
CBC*
paddingScheme
PKCS5
initializationVectorSize
64 bits
generateInitializationVectors
true**
* The CBC operation mode is used instead of the JDK default ECB to
ensure strong encryption.CipherService uses a cryptographic algorithm called a
Cipher to convert an original input source using a key to
an uninterpretable format.InputStream, decrypts it, and sends the resulting decrypted data
to the given OutputStream.DefaultBlockCipherService using the specified block cipher algorithmName.InputStream, encrypts it, and sends the resulting encrypted data to the
given OutputStream.Key suitable for this CipherService's algorithm
by calling generateNewKey(128) (uses a 128 bit size by default).Key of the specified size suitable for this CipherService
(based on the algorithmName using the JDK KeyGenerator.JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[]) and
JcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])).modeName attribute, but is used instead only for for streaming
operations (JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[]) and
JcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])).Cipher
transformation string.Cipher.getInstance(java.lang.String) call.Cipher.getInstance(java.lang.String) invocation when
creating a new Cipher instance.CipherService implementation utilizing Java's JCA APIs.JcaCipherService instance which will use the specified cipher algorithmName
for all encryption, decryption, and key operations.CipherPaddingScheme represents well-known
padding schemes supported by JPA providers in a
type-safe manner.Cipher transformation string.Cipher transformation string.Cipher transformation string.Cipher transformation string.JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[]) and
JcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])).Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.