What is Nostr?
paulmillr / Paul Miller
npub10jc…3kag
2023-03-24 10:58:20

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-secp256k1
https://github.com/paulmillr/noble-ed25519
Author Public Key
npub10jcnehsxwrjepupvh602pl83up0dh3wv3fqfwv062smygqvpeuwsk03kag