public class DICE extends Object
| Constructor and Description |
|---|
DICE() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
DiceSHA256(byte[] buf)
Hashing function for DICE emulation (SHA256)
|
static byte[] |
DiceSHA256(byte[] buf1,
byte[] buf2)
Hashing function for DICE emulation (SHA256)
|
public static byte[] DiceSHA256(byte[] buf)
throws NoSuchAlgorithmException
buf - Byte buffer from which digest is computedNoSuchAlgorithmException - When no "SHA-256"public static byte[] DiceSHA256(byte[] buf1,
byte[] buf2)
throws NoSuchAlgorithmException
buf1 - First byte buffer to be included in digestbuf2 - Second byte buffer to be included in digestNoSuchAlgorithmException - When no "SHA-256"Copyright © 2017. All rights reserved.