You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Package crypto provides cryptographic keys and operations, as used in atproto (the protocol)
//
// This package attempts to abstract away the specific curves, compressions, signature variations, and other implementation details. The goal is to provide as few knobs and options as possible when working with this library. Use of cryptography in atproto is specified in https://atproto.com/specs/cryptography.
//
// The two currently supported curve types are:
//
// - P-256/secp256r1, internally implemented using golang's stdlib cryptographic library
// - K-256/secp256r1, internally implemented using https://gitlab.com/yawning/secp256k1-voi
//
// "Low-S" signatures are enforced for both key types, both when creating signatures and during verification, as required by the atproto specification.