public class PassEncryptUtil extends Object
https://github.com/defuse/password-hashing/blob/master/PasswordStorage.java
Modifier and Type | Class and Description |
---|---|
static class |
PassEncryptUtil.CannotPerformOperationException |
static class |
PassEncryptUtil.InvalidHashException |
Modifier and Type | Method and Description |
---|---|
static String |
createHash(String password) |
static boolean |
verifyPassword(String password,
String correctHash) |
public static String createHash(String password) throws PassEncryptUtil.CannotPerformOperationException
public static boolean verifyPassword(String password, String correctHash) throws PassEncryptUtil.CannotPerformOperationException, PassEncryptUtil.InvalidHashException
Copyright © 2017. All rights reserved.