org.jasypt.encryption.pbe
Interface PBEBigDecimalCleanablePasswordEncryptor

All Superinterfaces:
BigDecimalEncryptor, CleanablePasswordBased, PasswordBased, PBEBigDecimalEncryptor
All Known Implementing Classes:
PooledPBEBigDecimalEncryptor, StandardPBEBigDecimalEncryptor

public interface PBEBigDecimalCleanablePasswordEncryptor
extends PBEBigDecimalEncryptor, CleanablePasswordBased

Common interface for all Password Based Encryptors which receive a BigDecimal message and return a BigDecimal result, and provide means to set passwords as cleanable char[] objects (instead of immutable Strings).

Important: The size of the result of encrypting a number, depending on the algorithm, may be much bigger (in bytes) than the size of the encrypted number itself. For example, encrypting a 4-byte integer can result in an encrypted 16-byte number. This can lead the user into problems if the encrypted values are to be stored and not enough room has been provided.

For a default implementation, see StandardPBEBigDecimalEncryptor.

Since:
1.8
Author:
Daniel Fernández

Method Summary
 
Methods inherited from interface org.jasypt.encryption.BigDecimalEncryptor
decrypt, encrypt
 
Methods inherited from interface org.jasypt.encryption.pbe.CleanablePasswordBased
setPasswordCharArray
 
Methods inherited from interface org.jasypt.encryption.pbe.PasswordBased
setPassword
 



Copyright © 2011 The JASYPT team. All Rights Reserved.