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

Constructor Index

 o Login()

Method Index

 o keyFromByteArray(byte[])
Distill a byte array down to a 64-bit cryptographic key.
 o keyFromPassphrase(String)
Distill a string down to a 64-bit cryptographic key.

Constructors

 o Login
 public Login()

Methods

 o 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
 o 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