DebugSteven
1b64afd83d
associate diffie_hellman, generate_public, generate_secret with the Ephemeral type; implement Mul for Ephemeral; create SharedSecret type & implement drop; change docs to reflect new methods on the Ephemeral type
2018-11-10 15:29:17 -05:00
DebugSteven
e93a7125d9
revert change to fn x25519
2018-11-06 17:04:18 -05:00
DebugSteven
34abee71f8
generate secret key in impl & use the type
2018-11-06 16:51:57 -05:00
DebugSteven
bd13f0728f
add clear_on_drop to toml & add secret key type
2018-11-06 14:00:52 -05:00
Isis Lovecruft
1aec62c6be
Switch to using traits from rand_core instead of rand.
2018-07-23 17:15:09 +00:00
Jake McGinty
cb88ab169a
Use latest curve25519-dalek.
...
Fixes #5 (allows x25519-dalek to compile on stable).
informed by 6748ddd :
- sub `CompressedMontgomeryU` with `MontgomeryPoint`, removing
(de)compress calls.
informed by d32fe97 :
- sub `Scalar([u8; 32])` with `Scalar::from_bits([u8; 32])`
2018-05-01 20:18:43 -07:00
Isis Lovecruft
f8c554dd97
Move seldom-used import.
2017-10-24 06:10:27 +00:00
Isis Lovecruft
3702a7c598
Initial commit.
2017-10-09 04:02:40 +00:00