Skip to content

Commit 1ed3419

Browse files
authored
argon2 v0.2.0 (RustCrypto#169)
1 parent b51d30c commit 1ed3419

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
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.

argon2/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ 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.2.0 (2021-04-29)
9+
### Changed
10+
- Forbid unsafe code outside parallel implementation ([#157])
11+
- Bump `password-hash` crate dependency to v0.2 ([#164])
12+
13+
### Removed
14+
- `argon2::BLOCK_SIZE` constant ([#161])
15+
16+
[#157]: https://github.com/RustCrypto/password-hashes/pull/157
17+
[#161]: https://github.com/RustCrypto/password-hashes/pull/161
18+
[#164]: https://github.com/RustCrypto/password-hashes/pull/164
19+
820
## 0.1.5 (2021-04-18)
921
### Added
1022
- Parallel lane processing using `rayon` ([#149])

argon2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = """
44
Pure Rust implementation of the Argon2 password hashing function with support
55
for the Argon2d, Argon2i, and Argon2id algorithmic variants
66
"""
7-
version = "0.1.5"
7+
version = "0.2.0"
88
authors = ["RustCrypto Developers"]
99
license = "MIT OR Apache-2.0"
1010
documentation = "https://docs.rs/argon2"

argon2/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,6 @@ pub const MAX_SALT_LENGTH: usize = 0xFFFFFFFF;
156156
/// Maximum key length in bytes
157157
pub const MAX_SECRET: usize = 0xFFFFFFFF;
158158

159-
/// Memory block size in bytes
160-
#[deprecated(since = "0.1.6", note = "use Block::SIZE instead")]
161-
pub const BLOCK_SIZE: usize = Block::SIZE;
162-
163159
/// Argon2d algorithm identifier
164160
#[cfg(feature = "password-hash")]
165161
#[cfg_attr(docsrs, doc(cfg(feature = "password-hash")))]

0 commit comments

Comments
 (0)