EncryptionTools class

This class performs specialized encryption/decryption functions for relatively short strings such as passwords.

Syntax

public class EncryptionTools

Remarks

All the set*** methods should be invoked first to provide all options required to instantiate a Cipher instance. Next init() should be called to perform necessary initialization. Finally, encrypt()/decrypt() can be invoked to accomplish expected cipher operation. Encryption result will be encoded using base64. UTF-8 will be used for encoding between String and byte array conversion.