Skip to content

Instantly share code, notes, and snippets.

Avatar

Berthet vberthet

View GitHub Profile
@vberthet
vberthet / HashedPassword.java
Last active Dec 12, 2015
The hmac+bcrypt password storage for Java. Dependencies : http://www.mindrot.org/projects/jBCrypt/ OR if you use Maven : <dependency> <groupId>org.mindrot</groupId> <artifactId>jbcrypt</artifactId> <version>0.3m</version> </dependency>
View HashedPassword.java
package libs.password;
import java.util.UUID;
/**
* @author vbert
*
*/
public final class HashedPassword{
private String version;