All Packages Class Hierarchy This Package Previous Next Index
Class AcmeNet.Util.Login
AcmeNet.Util.Login
- public class Login
Defines methods for deriving cryptographic keys from various types of data.
- See Also:
- AcmeCipher
-
Login()
-
-
keyFromByteArray(byte[])
- Distill a byte array down to a 64-bit cryptographic key.
-
keyFromPassphrase(String)
- Distill a string down to a 64-bit cryptographic key.
Login
public Login()
keyFromPassphrase
public static long keyFromPassphrase(String passphrase)
- Distill a string down to a 64-bit cryptographic key.
- Parameters:
- passphrase - the string to be distilled
- Returns:
- a cryptographic key derived from the passphrase
keyFromByteArray
public static long keyFromByteArray(byte arr[])
- Distill a byte array down to a 64-bit cryptographic key.
- Parameters:
- arr - the byte array to be distilled
- Returns:
- a cryptographic key derived from the byte array
All Packages Class Hierarchy This Package Previous Next Index