mirror of
https://github.com/jmcorgan/fips.git
synced 2026-08-09 00:04:54 +00:00
Implements FIPS Identity System (Section 1 of design doc): - NodeId: 32-byte SHA-256 hash of npub, with Ord for root election - FipsAddress: 128-bit IPv6-compatible address (0xfd prefix) - Identity: keypair holder with sign/verify methods - AuthChallenge/AuthResponse: challenge-response authentication All 11 tests passing.
14 lines
224 B
TOML
14 lines
224 B
TOML
[package]
|
|
name = "fips"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
secp256k1 = { version = "0.30", features = ["rand", "global-context"] }
|
|
sha2 = "0.10"
|
|
rand = "0.8"
|
|
thiserror = "2.0"
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|