Common-encryption
From Gcube Wiki
Scope
This library offers an easy way to encrypt and decrypt string objects.
Design and implementation notes
The library uses a symmetric key based on the AES standard algorithm for cryptography. It does expect that such a key is available on the local classpath. Optionally, the key can be programmatically passed to the methods exposed by the Encrypters.
In addition, the resulting encrypted data are encoded in the BASE 64 schema in order to represent them in the ASCII string format.
The library use only native java libraries.
It exposes two main classes:
-
StringEncrypter
for encrypting/decrypting String objects