Interface PBEBigIntegerEncryptor
- All Superinterfaces:
BigIntegerEncryptor, PasswordBased
- All Known Subinterfaces:
PBEBigIntegerCleanablePasswordEncryptor
- All Known Implementing Classes:
PooledPBEBigIntegerEncryptor, StandardPBEBigIntegerEncryptor
Common interface for all Password Based Encryptors which receive a BigInteger message and return a BigInteger result.
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 StandardPBEBigIntegerEncryptor.
- Since:
- 1.2
-
Method Summary
Methods inherited from interface BigIntegerEncryptor
decrypt, encryptMethods inherited from interface PasswordBased
setPassword