paulmillr on Nostr: 4KB cryptography. Does that sound safe? Because it should. Announcing v2 of ...
4KB cryptography. Does that sound safe? Because it should.
Announcing v2 of single-feature modules noble secp256k1 and noble ed25519. secp is just 430 lines of code (4KB gzipped), ed is only 330 lines (3.3KB gzipped) — 4x smaller than previous versions.
Tweetnacl was a great idea. Smaller attack surface means less things that could go wrong. New libraries develop the concept further: there are tons of comments everywhere, describing how things work - makes it much easier for cryptography newcomers to read.
https://github.com/paulmillr/noble-secp256k1https://github.com/paulmillr/noble-ed25519Published at
2023-03-24 10:58:20Event JSON
{
"id": "fab2af49a4cf4c86deb953c488d720ada12f18b0f58d4481a1c37bde5ec21105",
"pubkey": "7cb13cde0670e590f02cbe9ea0fcf1e05edbc5cc8a409731fa5436440181cf1d",
"created_at": 1679655500,
"kind": 1,
"tags": [],
"content": "4KB cryptography. Does that sound safe? Because it should.\n\nAnnouncing v2 of single-feature modules noble secp256k1 and noble ed25519. secp is just 430 lines of code (4KB gzipped), ed is only 330 lines (3.3KB gzipped) — 4x smaller than previous versions.\n\nTweetnacl was a great idea. Smaller attack surface means less things that could go wrong. New libraries develop the concept further: there are tons of comments everywhere, describing how things work - makes it much easier for cryptography newcomers to read.\n\nhttps://github.com/paulmillr/noble-secp256k1\nhttps://github.com/paulmillr/noble-ed25519",
"sig": "d59ac471d694095e204d651d32236fed9657794d7c50ad0d8166affca070cb0dfabecb47fefe32196555a7efcfd72fc676e9856daf44b0ec46ac86075b504912"
}