Changelog
3.0.0 - 2022-05-13
bnid-cli
. The primary reason
is to reduce bnid
dependencies.crypto.getRandomValues()
.Changelog
2.1.0 - 2021-11-18
generateSecretKeySeed()
and decodeSecretKeySeed()
.multihash
boolean parameter to IdEncoder and IdDecoder. A
multihash-encoded identifier will use the identity
multicodec tag (0x00
).
Using multihash has the advantage of including the size of the identifier
which can then be verified to have not changed when decoding.expectedSize
optional parameter to IdDecoder for multihash-encoded ID
bytes. (default: 32).Changelog
2.0.0 - 2020-05-22
multibase
now defaults to true
for all APIs.bnid
.min/maxEncodedIdBytes
utiltiies. Useful for variable length encodings such
as base58
.