| java.lang.Object org.openharmonise.him.authentication.PBE
PBE | public class PBE (Code) | | Class which encrypts and decrypts plain text using PBEWithMD5AndDES.
author: Matthew Large version: $Revision: 1.1 $ |
Method Summary | |
public static String | decrypt(char[] password, String text) Dencrypts supplied text using PBEWithMD5AndDES, with the supplied password
as the key. | public static String | encrypt(char[] password, String plaintext) Encrypts supplied text using PBEWithMD5AndDES, with the supplied password
as the key. |
decrypt | public static String decrypt(char[] password, String text) throws Exception(Code) | | Dencrypts supplied text using PBEWithMD5AndDES, with the supplied password
as the key.
Parameters: password - Password to act as the key Parameters: text - Text to dencrypt Dencrypted text throws: Exception - |
encrypt | public static String encrypt(char[] password, String plaintext) throws Exception(Code) | | Encrypts supplied text using PBEWithMD5AndDES, with the supplied password
as the key.
Parameters: password - Password to act as the key Parameters: plaintext - Text to encrypt Encrypted text throws: Exception - |
|
|