|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.security.codec.PC1_Encryptor
public final class PC1_Encryptor
String encryptor.
Based upon PC1 Cipher Algorithm (Pukall Cipher 1) by Alexander PUKALL
Method Summary | |
---|---|
static String |
decrypt(String encryptedString)
Decrypts a string using the default key. |
static String |
decrypt(String key,
String encryptedString)
Decrypts a string. |
static String |
encrypt(String stringToEncrypt)
Encrypts a string using the default key. |
static String |
encrypt(String key,
String stringToEncrypt)
Encrypts a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String decrypt(String encryptedString)
encryptedString
- the string to decrypt
public static String decrypt(String key, String encryptedString)
key
- the encryption keyencryptedString
- the string to decrypt
public static String encrypt(String stringToEncrypt)
stringToEncrypt
- the string to encrypt
public static String encrypt(String key, String stringToEncrypt)
key
- the encryption keystringToEncrypt
- the string to encrypt
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |