public interface Cryptor
开发人员: renhui
开发时间: 2013-8-30
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String encryptedKey)
Decrypts the password.
|
String |
decrypt(String encryptedKey,
String seed)
Decrypts the password.
|
String |
encrypt(String plainKey)
Encrypt the plain text password.
|
String |
encrypt(String plainKey,
String seed)
Encrypt the plain text password.
|
String encrypt(String plainKey) throws Exception
plainKey
- The password.Exception
- If an error occurs.String encrypt(String plainKey, String seed) throws Exception
plainKey
- The password.seed
- The seed.Exception
- If an error occurs.String decrypt(String encryptedKey) throws Exception
encryptedKey
- the encrypted password.Exception
- If an error occurs.Copyright © 2006–2018 TinyGroup. All rights reserved.