Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 804 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 804 Bytes

rsky-crypto

Rust crate providing basic cryptographic helpers as needed in atproto.

Crate

This crate implements the two currently supported cryptographic systems:

  • P-256 elliptic curve: aka "NIST P-256", aka secp256r1 (note the r), aka prime256v1
  • K-256 elliptic curve: aka "NIST K-256", aka secp256k1 (note the k)

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.

License

rsky is released under the Apache License 2.0.