diff --git a/Cargo.lock b/Cargo.lock index 7c5bef2..5696b86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -36,9 +36,9 @@ dependencies = [ [[package]] name = "cipher" -version = "0.5.0-pre.2" +version = "0.5.0-pre.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40619e61d2e7c018604193e71763730a96b0e606e19aba895956635986c7fe98" +checksum = "4edc902a09138d9a0d02800f2c214f15295555e4d126bf4b312ea6f3bce7ae46" dependencies = [ "blobby", "crypto-common", @@ -57,9 +57,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.2.0-pre.4" +version = "0.2.0-pre.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806e4e3731d44f1340b069551225b44c2056c105cad9e67f0c46266db8a3a6b9" +checksum = "b7aa2ec04f5120b830272a481e8d9d8ba4dda140d2cda59b0f1110d5eb93c38e" dependencies = [ "getrandom", "hybrid-array", @@ -93,9 +93,9 @@ checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hybrid-array" -version = "0.2.0-rc.0" +version = "0.2.0-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8c5517ac29f08e88170b9647d85cc5f21c2596de177b4867232e20b214b8da1" +checksum = "18e63b66aee2df5599ba69b17a48113dfc68d2e143ea387ef836509e433bbd7e" dependencies = [ "typenum", ] diff --git a/chacha20/Cargo.toml b/chacha20/Cargo.toml index ffef6fb..0cee2cb 100644 --- a/chacha20/Cargo.toml +++ b/chacha20/Cargo.toml @@ -20,13 +20,13 @@ categories = ["cryptography", "no-std"] [dependencies] cfg-if = "1" -cipher = "=0.5.0-pre.2" +cipher = "=0.5.0-pre.3" [target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies] cpufeatures = "0.2" [dev-dependencies] -cipher = { version = "=0.5.0-pre.2", features = ["dev"] } +cipher = { version = "=0.5.0-pre.3", features = ["dev"] } hex-literal = "0.4" [features] diff --git a/hc-256/Cargo.toml b/hc-256/Cargo.toml index 8060c56..c35de8f 100644 --- a/hc-256/Cargo.toml +++ b/hc-256/Cargo.toml @@ -13,10 +13,10 @@ keywords = ["crypto", "stream-cipher", "trait"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "=0.5.0-pre.2" +cipher = "=0.5.0-pre.3" [dev-dependencies] -cipher = { version = "=0.5.0-pre.2", features = ["dev"] } +cipher = { version = "=0.5.0-pre.3", features = ["dev"] } hex-literal = "0.4" [features] diff --git a/rabbit/Cargo.toml b/rabbit/Cargo.toml index 669b298..9673b71 100644 --- a/rabbit/Cargo.toml +++ b/rabbit/Cargo.toml @@ -13,10 +13,10 @@ keywords = ["crypto", "rabbit", "stream-cipher", "trait"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "=0.5.0-pre.2" +cipher = "=0.5.0-pre.3" [dev-dependencies] -cipher = { version = "=0.5.0-pre.2", features = ["dev"] } +cipher = { version = "=0.5.0-pre.3", features = ["dev"] } hex-literal = "0.4" [features] diff --git a/rc4/Cargo.toml b/rc4/Cargo.toml index b35170a..56d08aa 100644 --- a/rc4/Cargo.toml +++ b/rc4/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["arc4", "arcfour", "crypto", "stream-cipher", "trait"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "=0.5.0-pre.2" +cipher = "=0.5.0-pre.3" [dev-dependencies] hex-literal = "0.4" diff --git a/rc4/src/lib.rs b/rc4/src/lib.rs index b3874e9..c6097ce 100644 --- a/rc4/src/lib.rs +++ b/rc4/src/lib.rs @@ -15,12 +15,12 @@ //! use rc4::{consts::*, KeyInit, StreamCipher}; //! use rc4::{Key, Rc4}; //! -//! let mut rc4 = Rc4::new(b"Key".into()); +//! let mut rc4 = Rc4::::new(b"Key".into()); //! let mut data = b"Plaintext".to_vec(); //! rc4.apply_keystream(&mut data); //! assert_eq!(data, [0xBB, 0xF3, 0x16, 0xE8, 0xD9, 0x40, 0xAF, 0x0A, 0xD3]); //! -//! let mut rc4 = Rc4::new(b"Wiki".into()); +//! let mut rc4 = Rc4::::new(b"Wiki".into()); //! let mut data = b"pedia".to_vec(); //! rc4.apply_keystream(&mut data); //! assert_eq!(data, [0x10, 0x21, 0xBF, 0x04, 0x20]); diff --git a/salsa20/Cargo.toml b/salsa20/Cargo.toml index 8f5da3b..d6737d9 100644 --- a/salsa20/Cargo.toml +++ b/salsa20/Cargo.toml @@ -14,10 +14,10 @@ categories = ["cryptography", "no-std"] [dependencies] cfg-if = "1" -cipher = "=0.5.0-pre.2" +cipher = "=0.5.0-pre.3" [dev-dependencies] -cipher = { version = "=0.5.0-pre.2", features = ["dev"] } +cipher = { version = "=0.5.0-pre.3", features = ["dev"] } hex-literal = "0.4" [features]