curve25519-dalek 4, x25519-dalek 2

This commit is contained in:
Jack Grigg 2023-12-17 16:38:52 +00:00
parent 69f755731a
commit 349fa9a7bb
8 changed files with 156 additions and 137 deletions

View file

@ -26,7 +26,7 @@ base64 = "0.21"
chacha20poly1305 = { version = "0.10", default-features = false, features = ["alloc"] }
# - X25519 from RFC 7748
x25519-dalek = "1"
x25519-dalek = { version = "2", features = ["static_secrets"] }
# - HKDF from RFC 5869 with SHA-256
# - HMAC from RFC 2104 with SHA-256
@ -39,7 +39,6 @@ scrypt = { version = "0.11", default-features = false }
# - CSPRNG
rand = "0.8"
rand_7 = { package = "rand", version = "0.7" }
# - Key encoding
bech32 = "0.9"