mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-07 22:16:18 +02:00
version 1.0.0
Changes since 0.3.8: - Add Hash::from_hex() and implement FromStr for Hash. - Implement Display for Hash, equivalent to Hash::to_hex(). - Implement PartialEq<[u8]> for Hash, using constant_time_eq. - Change derive_key() to return a 32-byte array. As with hash() and keyed_hash(), callers who want a non-default output length can use Hasher::finalize_xof(). - Replace Hasher::update_with_join() with Hasher::update_rayon(). The former was excessively generic, and the Join trait leaked implementation details. As part of this change, the Join trait is no longer public. - Upgraded arrayvec to 0.7.0, which uses const generics. This bumps the minimum supported Rust compiler version to 1.51. - Gate the digest and crypto-mac trait implementations behind an unstable feature, "traits-preview". As part of this change upgrade crypto-mac to 0.11.0.
This commit is contained in:
parent
5aef6849bb
commit
b404c851c2
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "blake3"
|
||||
version = "0.3.7"
|
||||
version = "1.0.0"
|
||||
authors = ["Jack O'Connor <oconnor663@gmail.com>"]
|
||||
description = "the BLAKE3 hash function"
|
||||
repository = "https://github.com/BLAKE3-team/BLAKE3"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "b3sum"
|
||||
version = "0.3.7"
|
||||
version = "1.0.0"
|
||||
authors = ["Jack O'Connor <oconnor663@gmail.com>"]
|
||||
description = "a command line implementation of the BLAKE3 hash function"
|
||||
repository = "https://github.com/BLAKE3-team/BLAKE3"
|
||||
|
@ -15,7 +15,7 @@ pure = ["blake3/pure"]
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1.0.25"
|
||||
blake3 = { version = "0.3", path = "..", features = ["rayon"] }
|
||||
blake3 = { version = "1", path = "..", features = ["rayon"] }
|
||||
clap = "2.33.1"
|
||||
hex = "0.4.0"
|
||||
memmap = "0.7.0"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define BLAKE3_VERSION_STRING "0.3.7"
|
||||
#define BLAKE3_VERSION_STRING "1.0.0"
|
||||
#define BLAKE3_KEY_LEN 32
|
||||
#define BLAKE3_OUT_LEN 32
|
||||
#define BLAKE3_BLOCK_LEN 64
|
||||
|
|
Loading…
Reference in New Issue