2011-03-09

Tips on Security with Java

Symmetric encryption based Encryptor/Decryptor

Most of cases with moderate requirement on security, I think, private key based encryption is well-suited. Non-secure encoding such as Base64 or Quoted-Printable encoding seems dangerous but, public key based encryption seems too costly.
I couldn't find well-shaped and trusty library on private key based encryption until recently. Today I have found such a one within Spring Security.

Spring Security provides

  • private key based bytes encryptor, text encryptor
  • factory class for encryptors
  • key generators to provide keys to encryptor
  • password encoders which use one way encoding algorithm such as hashing.
The API is not so complicated as javax.crpyto but enough for general purpose.

For more details, you can refer the followings.

0 comments:

Post a Comment