diff --git a/Cargo.toml b/Cargo.toml index 2371ee6..4ebdd46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,15 @@ travis-ci = { repository = "https://github.com/0xAtropine/Winternitz-OTS", branc # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +# Data Format hex = "0.4.2" -getrandom = "0.1.14" + +# Randomness +# Was 0.1.4 +getrandom = "0.2.2" + +# Crypto blake2-rfc = "0.2.18" + +# Serialization +serde = { version = "1.0", features = ["derive"] } \ No newline at end of file diff --git a/src/wots.rs b/src/wots.rs index 0ad8f33..5a232d4 100644 --- a/src/wots.rs +++ b/src/wots.rs @@ -5,7 +5,7 @@ use getrandom; /// # W-OTS Keypair /// This struct contains the W-OTS Keypair, including: -/// - w: The Wintertnitz Parameter, as a usize +/// - w: The Wintertnitz Parameter, as a usize. It should be 4 or 16. /// - n: The Digest Length in Bytes, as a usize /// - pk: The Public Key, as a Vector of Strings /// - sk: The Private Key, as a Vector of Strings