Commit graph

16 commits

Author SHA1 Message Date
pinkforest(she/her)
02a5ce20ca
Add getrandom (#118)
* Add getrandom to bring convenience random init functions

* Fix doc name

* Rename new to random_from_rng

* Deprecate new() in favor of random_from_rng()

* Simplify constructors documentation

Co-authored-by: Ciprian Dorin Craciun <ciprian@volution.ro>
2023-03-21 01:40:51 -04:00
dignifiedquire
ce3b8d3689 fixup: cleanup extern crates 2022-12-09 15:40:56 +01:00
dignifiedquire
fa9e16e938 happy clippy 2022-12-09 15:36:55 +01:00
DebugSteven
be82bcb15b update rand_core version
Co-authored-by: Greg <gregory.mkv@gmail.com>
2019-11-26 14:28:34 -07:00
DebugSteven
0c3981d87a support for serde serialize and deserialize 2019-11-11 10:46:28 -05:00
Henry de Valence
9c3d6921d0 Use 2018 edition 2019-10-24 15:44:57 -07:00
Henry de Valence
bcea24308f Fix benchmark 2019-02-16 10:17:15 -08:00
Isis Lovecruft
53ba2f3bcc
Merge remote-tracking branch 'newpavlov/rand_os' into release/0.4.0 2019-01-16 01:29:46 +00:00
Isis Lovecruft
c9a1ef6a36
Credit @DebugSteven as an author. 2019-01-12 23:34:49 +00:00
Артём Павлов [Artyom Pavlov]
5dcc1c17da use rand_os instead of rand 2019-01-05 16:17:05 +03:00
DebugSteven
d3b7ccf030 byte-oriented x25519 function 2018-12-16 11:30:32 -07:00
DebugSteven
ff0e1f286b From<[u8; 32]> for Ephemeral Public, fix to benches 2018-12-07 17:51:08 -05:00
DebugSteven
8730bfbba6 move implementation of x25519 into diffie_hellman 2018-12-07 17:07:24 -05:00
DebugSteven
734abac70b wrap MontgomeryPoint in EphemeralPublic, impl From; remove byte fns for EphemeralSecret 2018-12-02 14:23:09 -05:00
DebugSteven
cb18af7c1b update readme & fix benches 2018-11-10 16:17:19 -05:00
Isis Lovecruft
659d6c258e
Add criterion benchmark for diffie_hellman() function. 2018-04-03 23:30:21 +00:00