Skip to content

Commit

Permalink
Bump cipher to v0.5.0-pre.3 (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Feb 5, 2024
1 parent 521d874 commit 9438633
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions chacha20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions hc-256/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions rabbit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion rc4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions rc4/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<U3>::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::<U4>::new(b"Wiki".into());
//! let mut data = b"pedia".to_vec();
//! rc4.apply_keystream(&mut data);
//! assert_eq!(data, [0x10, 0x21, 0xBF, 0x04, 0x20]);
Expand Down
4 changes: 2 additions & 2 deletions salsa20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 9438633

Please sign in to comment.