|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.crypto.tinytls.util.hash
public class hash
Constructor Summary | |
---|---|
hash()
|
Method Summary | |
---|---|
static byte[] |
md5(byte[] b1)
generates a md5 hash |
static byte[] |
md5(byte[] b1,
byte[] b2)
generates a md5 hash |
static byte[] |
md5(byte[] b1,
byte[] b2,
byte[] b3)
generates a md5 hash |
static byte[] |
sha(byte[] b1)
generates a sha hash |
static byte[] |
sha(byte[] b1,
byte[] b2)
generates a sha hash |
static byte[] |
sha(byte[] b1,
byte[] b2,
byte[] b3)
generates a sha hash |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public hash()
Method Detail |
---|
public static byte[] sha(byte[] b1)
inputs
- input
public static byte[] sha(byte[] b1, byte[] b2)
b1
- inputb2
- input
public static byte[] sha(byte[] b1, byte[] b2, byte[] b3)
b1
- inputb2
- inputb3
- input
public static byte[] md5(byte[] b1)
inputs
- input
public static byte[] md5(byte[] b1, byte[] b2)
b1
- inputb2
- input
public static byte[] md5(byte[] b1, byte[] b2, byte[] b3)
b1
- inputb2
- inputb3
- input
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |