@umbra-privacy/key-words
v0.1.1
Published
Typed word encodings for BN254 field elements and 64-byte secrets: the BIP-39 English list at lengths no wallet accepts, with a checksum bound to what the secret is and where it belongs. Loads nothing at run time. Pre-release (0.x): every API, type and be
Readme
@umbra-privacy/key-words
Words a person can write down for a BN254 field element (27 words) or a 64-byte secret (50 words). It uses the BIP-39 English list at lengths no wallet accepts, with a checksum bound to what the secret is and where it belongs.
Most apps don't install it directly. It is a building block of @umbra-privacy/nimbus-solana-web, which installs it for you.
Pre-release (0.x): every API, type and behaviour is subject to change at any time, as and when the Nimbus Privacy team (built by Umbra Privacy) decides or requires.
Install
pnpm add @umbra-privacy/key-wordsEntry points
@umbra-privacy/key-words: Exporting a field element or a secret as words, importing it back, andidentifyWords.@umbra-privacy/key-words/types: The dependencies a caller passes in, what a checksum binds, and the error.
License
Apache-2.0
Nimbus Privacy (built by Umbra Privacy)
