An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
at main 16 lines 471 B view raw
1// crypto: signing, Shamir secret sharing, DID operations. 2 3pub mod error; 4pub mod keys; 5pub mod plc; 6pub mod shamir; 7 8pub use error::CryptoError; 9pub use keys::{ 10 decrypt_private_key, encrypt_private_key, generate_p256_keypair, DidKeyUri, P256Keypair, 11}; 12pub use plc::{ 13 build_did_plc_genesis_op, build_did_plc_genesis_op_with_external_signer, verify_genesis_op, 14 PlcGenesisOp, VerifiedGenesisOp, 15}; 16pub use shamir::{combine_shares, split_secret, ShamirShare};