You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some algorithms (such as SHAKE128) can generate an output of arbitrary length. For example, the following are all valid SHAKE128 hashes of the string hello in UTF-8:
java.lang.IllegalStateException: Incorrect hash length: 2 != 32
at io.ipfs.multihash.Multihash.<init>(Multihash.java:162)
at io.ipfs.multihash.Multihash.deserialize(Multihash.java:218)
at io.ipfs.multihash.Multihash.deserialize(Multihash.java:223)
at io.ipfs.multihash.Multihash.fromHex(Multihash.java:273)
The text was updated successfully, but these errors were encountered:
Some algorithms (such as SHAKE128) can generate an output of arbitrary length. For example, the following are all valid SHAKE128 hashes of the string
hello
in UTF-8:(generated by the online hash calculator)
In particular, this code should work:
Whereas it currently fails with this exception:
The text was updated successfully, but these errors were encountered: