npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nulo-sh/wallet-crypto

v0.3.0

Published

Nulo wallet account-key derivation and password-based encryption.

Readme

@nulo-sh/wallet-crypto

Account-key derivation and password-based encryption from the Nulo wallet, published so other projects derive the same signing and account secret keys and read the same ciphertexts as the wallet.

Keys are not addresses. A Nulo account's address also depends on the wallet's frozen Schnorr account artifact and its instantiation descriptor, which this package does not ship.

Exports

| Export | Contract | |---|---| | deriveSigningKeyFromSeed(seed: Fr): GrumpkinScalar | The account's Schnorr signing key: sha512ToGrumpkinScalar([seed, NULO_SIGNING_ROOT_SEP]). | | deriveNuloAccountKeys(seed: Fr): Promise<{ signingKey, secretKey }> | The signing key plus the account secret key deriveSecretKeyFromSigningKey derives from it. | | EncryptionKey | Password-based AES-256-GCM. fromPassword(password) and fromPasshash(hash) only import SHA-256(password) as the PBKDF2 input, which is cheap. Every encrypt and decrypt then derives a fresh AES key with PBKDF2-SHA256 at 600,000 iterations, with salt = SHA-256(IV) and a fresh 12-byte IV per message, so each call pays the full KDF cost. encrypt(bytes, aad?) / decrypt(bytes, aad?): the frame is 0x00 ‖ iv ‖ ciphertext, the AAD is not stored, and decrypting under different AAD fails authentication. getPasshash(password) and getHashHex(input) are SHA-256 helpers. | | type Passhash | The branded SHA-256 of a password that fromPasshash accepts. |

Nothing else from the wallet's crypto layer is published.

Requirements

  • ESM only.
  • Aztec line: @aztec-labs/* 6.0.0.
  • The @aztec-labs/* packages are exact peer dependencies. Install the same versions, and make sure a single copy of each is installed: Fr and GrumpkinScalar values are only interchangeable within one copy.
  • WebCrypto (globalThis.crypto.subtle): current browsers, Node 20 or later, and Bun.
  • TypeScript 5.7 or later for the declarations.

Changes

  • 0.3.0: the peers move to the Aztec 6.0.0 line. The code is unchanged and derives the same keys from the same seed. The Nulo wallet's 6.0.0 account artifact changes account addresses, not these keys.
  • 0.2.0: the peers move to the Aztec 6.0.0-rc.3 line.

Provenance

Built from packages/wallet-crypto in nulo-sh/nulo by .github/workflows/publish-packages.yml and published with npm provenance. npm audit signatures verifies the attestation.

License

Apache-2.0. EncryptionKey is modified from Azguard Wallet, Copyright 2026 BB Strategy Pte. Ltd., licensed under Apache-2.0. See NOTICE.