Package net.finmath.pontes.erc7573
Class PontesHashes
java.lang.Object
net.finmath.pontes.erc7573.PontesHashes
Pontes hashes keys as their UTF-8 strings, not as hex-decoded key material.
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]decodeDigest(String lowerHexDigest, String field) static Stringhex(byte[] digest) static voidrequireKeyMatches(String key, byte[] expectedDigest, String field) static byte[]sha256Utf8(String key)
-
Method Details
-
sha256Utf8
-
decodeDigest
-
hex
-
requireKeyMatches
-