Bitcoin cryptographic library built from scratch for 210'000-Year longevity
Start using production-ready Bitcoin cryptography with native secp256k1, Schnorr signatures, and formal verification. Built for 210,000-year longevity.
π Start with the API DocsThe Cryptographic Library is a Bitcoin-focused cryptographic library built from scratch with a design goal of 210'000-Year longevity. Unlike wrapper libraries that depend on external implementations, this library provides native implementations of all critical cryptographic primitives used in Bitcoin.
secp256k1, ECDSA, SHA-256, RIPEMD-160
Completed Q2 2024BIP340 Schnorr signatures, BIP32/39 HD wallets
Completed Q4 2024Formal verification of critical operations
In Progress Q1 2025Complete verification, security audit, production-ready
Planned Q3 2025MuSig2, FROST, threshold signatures
Planned Q1 2026// Generate a new private key
val privateKey = PrivateKey.generate()
// Derive public key
val publicKey = privateKey.publicKey()
// Sign a message
val message = "Hello Bitcoin".toByteArray()
val signature = privateKey.sign(message)
// Verify signature
val isValid = publicKey.verify(message, signature)
println("Signature valid: $isValid")
// HD Wallet derivation (BIP32)
val masterKey = HDKey.fromSeed(seed)
val childKey = masterKey.derive("m/84'/0'/0'/0/0")
Try out our native secp256k1 implementation and Schnorr signatures. Designed for developers building secure, long-lasting Bitcoin applications.
π Read the Docs π» View on GitHub© 2025 Mnemore SA. All rights reserved. | Built with π§‘ in Switzerland