public interface HashIntoStructure extends StandaloneRepresentable
| Modifier and Type | Method and Description |
|---|---|
Element |
hash(byte[] x)
Hashes a byte array into the structure.
|
default Element |
hash(java.lang.String x)
Hashes a
String (UTF-8 encoded) into the structure. |
default Element |
hash(UniqueByteRepresentable ubr)
Hashes a
UniqueByteRepresentable in to the structure. |
getRepresentationElement hash(byte[] x)
x - a sequence of bytes to hashdefault Element hash(UniqueByteRepresentable ubr)
UniqueByteRepresentable in to the structure.ubr - the UniqueByteRepresentable to hashdefault Element hash(java.lang.String x)
String (UTF-8 encoded) into the structure.x - a String