idConverter
Modifier and Type | Method | Description |
---|---|---|
byte[] |
compressString(java.lang.String s) |
Compress a string into a binary data buffer.
|
java.lang.String |
decompressString(byte[] b) |
Decompress a string from a binary data buffer.
|
java.lang.String |
filterDecrypt(java.lang.String str) |
Decrypts a weakly encrypted string.
|
java.lang.String |
filterEncrypt(java.lang.String str) |
Weakly encrypts a string.
|
java.lang.String |
generateRandomPassword() |
Generates a random 10 char password string.
|
java.lang.String |
makeFinalPasswordString(java.lang.String rawPassword) |
Checks whether hash passwords are used, and if so, hashes
the password and returns the encoded string, and otherwise,
just returns the raw password back.
|
java.lang.String |
makeRepeatableHashString(java.lang.String str) |
Hashes the given string and returns an encoding of it.
|
boolean |
passwordCheck(java.lang.String pass1,
java.lang.String pass2) |
Compares two passwords to see if they are the same.
|
activate, getServiceClient, L, propertiesLoaded, shutdown
copyOf, ID, initializeClass, name, newInstance
java.lang.String decompressString(byte[] b)
b
- the compressed data buffercompressString(String)
byte[] compressString(java.lang.String s)
s
- the uncompressed stringdecompressString(byte[])
java.lang.String makeFinalPasswordString(java.lang.String rawPassword)
rawPassword
- the raw password straight from the userboolean passwordCheck(java.lang.String pass1, java.lang.String pass2)
pass1
- one of the passwordspass2
- the other passwordjava.lang.String generateRandomPassword()
java.lang.String makeRepeatableHashString(java.lang.String str)
str
- the string to encodejava.lang.String filterDecrypt(java.lang.String str)
str
- the string to decryptfilterEncrypt(String)
,
filterDecrypt(String)
java.lang.String filterEncrypt(java.lang.String str)
str
- the string to encryptfilterDecrypt(String)