public interface CleanablePasswordEncryptor
Modifier and Type | Method and Description |
---|---|
boolean |
checkPassword(char[] plainPassword,
String encryptedPassword)
Checks an unencrypted password against an encrypted one to see if they match.
|
String |
encryptPassword(char[] password)
Encrypts a password.
|
String encryptPassword(char[] password)
password
- the plaintext password as a cleanable char[]boolean checkPassword(char[] plainPassword, String encryptedPassword)
plainPassword
- the plaintext password as a cleanable char[]encryptedPassword
- the (BASE-64) digest from an earlier encryption against which to check the plaintext password
OACC is a Java Application Security Framework developed by Acciente, LLC..
Copyright 2015, Acciente, LLC.All rights reserved.