public class Crypt
extends java.lang.Object
Constructor and Description |
---|
Crypt() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decrypt(java.lang.String phrase)
Decrypts a phrase (password).
|
static java.lang.String |
encrypt(java.lang.String phrase)
Encrypts a phrase (password).
|
static void |
setEncryptTable(java.lang.String charSequence1,
java.lang.String charSequence2)
Sets the encrypt table for individual needs.
|
public static void setEncryptTable(java.lang.String charSequence1, java.lang.String charSequence2)
charSequence1
- a sequence of chars as a StringcharSequence2
- a different sequence of chars as a Stringpublic static java.lang.String encrypt(java.lang.String phrase)
phrase
- the phrase to encryptpublic static java.lang.String decrypt(java.lang.String phrase)
phrase
- the phrase to decryptCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de