|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.dalsemi.system.Security
A SHA-1 Hash and a "Better than Java" random number generator.
Method Summary | |
static int |
getRandom()
Return a 32 bit random number from the system random number generator. |
static byte[] |
hashMessage(byte[] MsgStr)
Computes a SHA-1 hash on the given message. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static int getRandom()
public static byte[] hashMessage(byte[] MsgStr)
message
- the message to hash
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |