public class hash
extends java.lang.Object
| Constructor and Description |
|---|
hash() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public static byte[] sha(byte[] b1)
inputs - inputpublic static byte[] sha(byte[] b1,
byte[] b2)
b1 - inputb2 - inputpublic static byte[] sha(byte[] b1,
byte[] b2,
byte[] b3)
b1 - inputb2 - inputb3 - inputpublic static byte[] md5(byte[] b1)
inputs - inputpublic static byte[] md5(byte[] b1,
byte[] b2)
b1 - inputb2 - inputpublic static byte[] md5(byte[] b1,
byte[] b2,
byte[] b3)
b1 - inputb2 - inputb3 - inputCopyright © 2023. All rights reserved.