|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.server.journal.helpers.PasswordCipher
public class PasswordCipher
Title: PasswordCipher.java
Description: Encipher the password so we aren't writing it to the file in clear.
The encipher method does not allow options for cipher type. It should always use the latest and greatest. The decipher method accepts different cipher types so it can be used to read older Journal Files. Known types include:
| Constructor Summary | |
|---|---|
PasswordCipher()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
decipher(java.lang.String key,
java.lang.String cipherText,
java.lang.String cipherType)
Use the key to produce a clear text String from the cipherText. |
static java.lang.String |
encipher(java.lang.String key,
java.lang.String clearText)
Use the key to produce a ciphered String from the clearText. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordCipher()
| Method Detail |
|---|
public static java.lang.String encipher(java.lang.String key,
java.lang.String clearText)
public static java.lang.String decipher(java.lang.String key,
java.lang.String cipherText,
java.lang.String cipherType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||