ATrium Crypto
Cryptographic library providing basic helpers for AT Protocol.
This package implements the two currently supported cryptographic systems:
p256elliptic curve: aka "NIST P-256", akasecp256r1(note ther), akaprime256v1k256elliptic curve: aka "NIST K-256", akasecp256k1(note thek)
The details of cryptography in atproto are described in the specification. This includes string encodings, validity of "low-S" signatures, byte representation "compression", hashing, and more.
Usage
use ;
use verify_signature;
use ThreadRng;