Class BouncyCastleAesCbcBytesEncryptor
java.lang.Object
org.springframework.security.crypto.encrypt.BouncyCastleAesCbcBytesEncryptor
- All Implemented Interfaces:
- BytesEncryptor
An Encryptor equivalent to 
AesBytesEncryptor using AesBytesEncryptor.CipherAlgorithm.CBC
 that uses Bouncy Castle instead of JCE. The algorithm is equivalent to
 "AES/CBC/PKCS5Padding".- 
Constructor SummaryConstructorsConstructorDescriptionBouncyCastleAesCbcBytesEncryptor(String password, CharSequence salt) BouncyCastleAesCbcBytesEncryptor(String password, CharSequence salt, BytesKeyGenerator ivGenerator) 
- 
Method Summary
- 
Constructor Details- 
BouncyCastleAesCbcBytesEncryptor
- 
BouncyCastleAesCbcBytesEncryptorpublic BouncyCastleAesCbcBytesEncryptor(String password, CharSequence salt, BytesKeyGenerator ivGenerator) 
 
- 
- 
Method Details- 
encryptpublic byte[] encrypt(byte[] bytes) Description copied from interface:BytesEncryptorEncrypt the byte array.
- 
decryptpublic byte[] decrypt(byte[] encryptedBytes) Description copied from interface:BytesEncryptorDecrypt the byte array.
 
-