mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-10-20 18:56:18 +00:00
The sr25519 cases verified upstream's vectors, signed under the substrate context, which this package does not accept: four cases failed whenever the suite ran. New vectors come from fixed seeds named in the spec and verify in both implementations (scure-sr25519 and the wasm Rust one); the upstream signature stays as a case that must not verify. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@pezkuwi/util-crypto
Various useful cyrpto utility functions that are used across all projects in the @pezkuwi namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
Usage
Installation -
yarn add @pezkuwi/util-crypto
Functions can be imported as follows:
import { mnemonicGenerate } from '@pezkuwi/util-crypto';