Title:Jasypt: Java simplified encryption - Main
Description:Keywords:Body:
Jasypt: Java simplified encryption - Main
Last Published: 29 Oct 2010
| Version: 1.8-SNAPSHOT
Main
|
Download
|
Features
|
Users Forum
|
Sourceforge.net Project Page
The Jasypt Project
· Main
· Features
· Download
· Source Repository
· License
· Team
Reference
· JavaDoc
· Dependencies
· FAQ
Community
· Users Forum
· Mailing Lists
· Issue Tracking
Guides
· Easy Usage: the utils
· General Usage
· Advanced encryptor/digester configuration
· Web PBE configuration
· Encrypting passwords
· Encrypting texts
· Encrypting numbers
· Encrypting binaries
· Encrypting application configuration files
· Encrypting from the command line
· Using non-default JCE providers
· Using the lite artifact
· Jasypt + Maven
· Jasypt + Hibernate 3
· Jasypt + Spring
· Jasypt + Spring Security
· Jasypt + Wicket
· Jasypt + Bouncy Castle
· Jasypt + Seam 2
Articles
· How to encrypt user passwords
Jasypt 1.7 RELEASED! (October 28th, 2010). [DOWNLOAD] [ChangeLog]
This is an important release of Jasypt including a lot of exciting new features! See WHAT'S NEW IN 1.7.
Java Simplified Encryption
Jasypt is a java library which allows the developer to add basic encryption capabilities to his/her projects with minimum effort, and without the need of having deep knowledge on how cryptography works.
High-security, standards-based encryption techniques, both for unidirectional and bidirectional encryption. Encrypt passwords, texts, numbers, binaries...
Transparent integration with Hibernate.
Suitable for integration into Spring-based applications and also transparently integrable with Spring Security.
Integrated capabilities for encrypting the configuration of applications (i.e. datasources).
Specific features for high-performance encryption in multi-processor/multi-core systems.
Open API for use with any JCE provider.
...and much more
Have a look at the complete set of Jasypt Features or check the FAQ.
With Jasypt, encrypting and checking a password can be as simple as...
BasicPasswordEncryptor passwordEncryptor = new BasicPasswordEncryptor();
String encryptedPassword = passwordEncryptor.encryptPassword(userPassword);
...
if (passwordEncryptor.checkPassword(inputPassword, encryptedPassword)) {
// correct!
} else {
// bad login!
}
...encrypting and decrypting a text...
BasicTextEncryptor textEncryptor = new BasicTextEncryptor();
textEncryptor.setPassword(myEncryptionPassword);
String myEncryptedText = textEncryptor.encrypt(myText);
...
String plainText = textEncryptor.decrypt(myEncryptedText);
...and what about encrypting some sensitive data directly from Hibernate?
lt;class name= quot;Employee quot; table= quot;EMPLOYEE quot; gt;
...
lt;property name= quot;address quot; column= quot;ADDRESS quot; type= quot;encryptedString quot; / gt;
lt;property name= quot;salary quot; column= quot;SALARY quot; type= quot;encryptedDecimal quot; / gt;
...
lt;class gt;
But of course, besides easy, jasypt is highly configurable. You will be able to choose encryption algorithms, salt generation and many more advanced features...
#169;
2010
The JASYPT team