File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " sskr"
3
- version = " 0.4.1 "
3
+ version = " 0.4.2 "
4
4
edition = " 2021"
5
5
description = " Sharded Secret Key Reconstruction (SSKR) for Rust."
6
6
authors = [" Blockchain Commons" ]
@@ -12,7 +12,7 @@ categories = ["cryptography"]
12
12
documentation = " https://docs.rs/sskr"
13
13
14
14
[dependencies ]
15
- bc-rand = " ^0.2.0 "
15
+ bc-rand = " ^0.2.1 "
16
16
bc-shamir = " ^0.4.0"
17
17
18
18
thiserror = " ^1.0.48"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Sharded Secret Key Reconstruction (SSKR) is a protocol for splitting a *secret*
14
14
15
15
``` toml
16
16
[dependencies ]
17
- sskr = " 0.4.1 "
17
+ sskr = " 0.4.2 "
18
18
```
19
19
20
20
## Specification
Original file line number Diff line number Diff line change 1
- #![ doc( html_root_url = "https://docs.rs/sskr/0.4.1 " ) ]
1
+ #![ doc( html_root_url = "https://docs.rs/sskr/0.4.2 " ) ]
2
2
#![ warn( rust_2018_idioms) ]
3
3
4
4
//! # Introduction
9
9
//!
10
10
//! ```toml
11
11
//! [dependencies]
12
- //! sskr = "0.4.1 "
12
+ //! sskr = "0.4.2 "
13
13
//! ```
14
14
//!
15
15
//! # Example
@@ -90,7 +90,7 @@ mod tests {
90
90
use super :: * ;
91
91
use bc_rand:: { rng_next_in_closed_range, RandomNumberGenerator } ;
92
92
use hex_literal:: hex;
93
- use rand:: RngCore ;
93
+ use rand:: { CryptoRng , RngCore } ;
94
94
95
95
#[ derive( Debug ) ]
96
96
struct FakeRandomNumberGenerator ;
@@ -113,6 +113,9 @@ mod tests {
113
113
}
114
114
}
115
115
116
+ // Testing purposes only!
117
+ impl CryptoRng for FakeRandomNumberGenerator { }
118
+
116
119
impl RandomNumberGenerator for FakeRandomNumberGenerator {
117
120
fn random_data ( & mut self , size : usize ) -> Vec < u8 > {
118
121
let mut b = vec ! [ 0u8 ; size] ;
You can’t perform that action at this time.
0 commit comments