Totalul afișărilor de pagină

duminică, 22 februarie 2015

Easy to use encryption library for java

If you are looking for an easy to user encryption library, the lightest that I found was jcrypt :
<dependency>
    <groupId>org.mindrot</groupId>
    <artifactId>jbcrypt</artifactId>
    <version>0.3m</version>
</dependency>

BCrypt.hashpw(password, BCrypt.gensalt(10));
BCrypt.checkpw(pwd1, pwd2);

I need to  specify that I do not need a very secure one because I am not handling sensitive data.


Niciun comentariu:

Trimiteți un comentariu