npm @polkadot/util-crypto 2.12.1

  • Important Removed mnemonicToSeed, it is only for bip39, use mnemonicToMiniSecret for the Substrate variant
  • Added u8aEq to compare two Uint8Array or hex values for an exact match
  • Added addressEq to compare two addresses (ss58, Uint8array or hex) for an exact match
  • Throw error on {nacl,schnorrkel}Verify on invalid input lengths
  • Performance optimizations in u8aToHex & u8aConcat
latest releases: 5.2.4-7, 5.2.4-6, 5.2.4-5...
7 months ago