Skip to content

A constant-time library for big integers modulo a prime, usable for cryptographic applications. Exported from crypto/internal/bigmod, the backend of crypto/rsa and crypto/ecdsa.

License

Notifications You must be signed in to change notification settings

FiloSottile/bigmod

Package bigmod implements constant-time big integer arithmetic modulo large moduli. Unlike math/big, this package is suitable for implementing security-sensitive cryptographic operations. It is a re-exported version the standard library package crypto/internal/fips140/bigmod used to implement crypto/rsa amongst others.

v0.1.0 is up to date with Go 1.24.

The API is NOT stable.

About

A constant-time library for big integers modulo a prime, usable for cryptographic applications. Exported from crypto/internal/bigmod, the backend of crypto/rsa and crypto/ecdsa.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project