Skip to content

Commit 3f2d6da

Browse files
committed
cipher v0.5.0
1 parent 8e54074 commit 3f2d6da

File tree

4 files changed

+38
-5
lines changed

4 files changed

+38
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cipher/CHANGELOG.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,55 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## 0.5.0 (UNRELEASED)
8+
## 0.5.0 (2026-02-04)
9+
### Added
10+
- Traits for tweakable block ciphers ([#1721])
11+
- Methods for writing keystream ([#1907])
12+
913
### Changed
14+
- Replaced `generic-array` with `hybrid-array` ([#1358])
15+
- Rename `BlockCipher*`/`BlockMode*` ([#1482])
16+
- `BlockEncrypt` => `BlockCipherEncrypt`
17+
- `BlockDecrypt` => `BlockCipherDecrypt`
18+
- `BlockEncryptMut` => `BlockModeEncrypt`
19+
- `BlockDecryptMut` => `BlockModeDecrypt`
20+
- Split `BlockBackend` traits into 4 specific traits: ([#1636])
21+
- `BlockCipherEncBackend`
22+
- `BlockCipherDecBackend`
23+
- `BlockModeEncBackend`,
24+
- `BlockModeDecBackend`
1025
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759])
11-
- Re-export of `crypto-common` moved to `cipher::common` ([#2237])
26+
- Use `block_buffer::ReadBuffer` in `StreamCipherCoreWrapper` ([#1959])
27+
- Re-export of `crypto-common` moved to `cipher::common` ([#2237], [#2260])
28+
- `crypto-common` dependency bumped to v0.2 ([#2276])
29+
- `blobby` requirement bumped to v0.4 ([#2147])
30+
- `inout` dependency bumped to v0.2.2 ([#2149])
1231

1332
### Fixed
33+
- Bugs in `StreamCipherCoreWrapper` trait implementations ([#1421])
1434
- Seeking implementation in the stream cipher wrapper ([#2052])
1535

1636
### Removed
37+
- `std` feature ([#1691])
1738
- `BlockCipherEncrypt::encrypt_padded*` and `BlockCipherDecrypt::decrypt_padded*` methods.
1839
Users of the ECB mode should use the `ecb-mode` crate instead. ([#2245])
1940

41+
[#1358]: https://github.com/RustCrypto/traits/pull/1358
42+
[#1421]: https://github.com/RustCrypto/traits/pull/1421
43+
[#1482]: https://github.com/RustCrypto/traits/pull/1482
44+
[#1636]: https://github.com/RustCrypto/traits/pull/1636
45+
[#1691]: https://github.com/RustCrypto/traits/pull/1691
46+
[#1721]: https://github.com/RustCrypto/traits/pull/1721
2047
[#1759]: https://github.com/RustCrypto/traits/pull/1759
48+
[#1907]: https://github.com/RustCrypto/traits/pull/1907
49+
[#1959]: https://github.com/RustCrypto/traits/pull/1959
2150
[#2052]: https://github.com/RustCrypto/traits/pull/2052
51+
[#2147]: https://github.com/RustCrypto/traits/pull/2147
52+
[#2149]: https://github.com/RustCrypto/traits/pull/2149
2253
[#2237]: https://github.com/RustCrypto/traits/pull/2237
2354
[#2245]: https://github.com/RustCrypto/traits/pull/2245
55+
[#2260]: https://github.com/RustCrypto/traits/pull/2260
56+
[#2276]: https://github.com/RustCrypto/traits/pull/2276
2457

2558
## 0.4.4 (2022-03-09)
2659
### Changed

cipher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cipher"
3-
version = "0.5.0-rc.8"
3+
version = "0.5.0"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"

crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ common = { version = "0.2", package = "crypto-common", path = "../crypto-common"
1717

1818
# optional dependencies
1919
aead = { version = "0.6.0-rc.5", path = "../aead", optional = true }
20-
cipher = { version = "0.5.0-rc.3", path = "../cipher", optional = true }
20+
cipher = { version = "0.5", path = "../cipher", optional = true }
2121
digest = { version = "0.11.0-rc.5", path = "../digest", optional = true, features = ["mac"] }
2222
elliptic-curve = { version = "0.14.0-rc.17", path = "../elliptic-curve", optional = true }
2323
password-hash = { version = "0.6.0-rc.6", path = "../password-hash", optional = true }

0 commit comments

Comments
 (0)