|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttribble.security.KeyMaker
Methods for generating an encryption/decryption key.
Method Summary | |
static void |
main(java.lang.String[] args)
Test driver. |
static byte[] |
makeKey(java.lang.String pwd,
int n)
Generate a binary key from a password string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void main(java.lang.String[] args)
args
- Command line arguments. A 256-bit binary key is generated from each
argument.public static byte[] makeKey(java.lang.String pwd, int n)
pwd
- A string containing a password.
This can be null or empty ("").n
- The length (in bytes) of the resulting binary key.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |