blake3-std

Crates.ioblake3-std
lib.rsblake3-std
version0.1.0
sourcesrc
created_at2021-11-23 16:04:15.103193
updated_at2023-01-28 01:42:57.35012
descriptionthe BLAKE3 hash function implementation with std::simd
homepage
repositoryhttps://github.com/LemonHX/BLAKE3-STD
max_upload_size
id486315
size786,789
LemonHX.eth (LemonHX)

documentation

README

blake3

BLAKE3-STD

the first blake3 implementation on std::simd

CI

ONLY COMPILES WITH NIGHTLY

[dependencies]
blake3-std = "0.0.1"

OFFICIAL DOC

BLAKE3 is a cryptographic hash function that is:

  • Much faster than MD5, SHA-1, SHA-2, SHA-3, and BLAKE2.
  • Secure, unlike MD5 and SHA-1. And secure against length extension, unlike SHA-2.
  • Highly parallelizable across any number of threads and SIMD lanes, because it's a Merkle tree on the inside.
  • Capable of verified streaming and incremental updates, again because it's a Merkle tree.
  • A PRF, MAC, KDF, and XOF, as well as a regular hash.
  • One algorithm with no variants, which is fast on x86-64 and also on smaller architectures.

BLAKE3 was designed by:

  • @oconnor663 (Jack O'Connor)
  • @sneves (Samuel Neves)
  • @veorq (Jean-Philippe Aumasson)
  • @zookozcash (Zooko)

The development of BLAKE3 was sponsored by the Electric Coin Company.

AT THE SAME TIME THANKS TO RUST MERGED portable_simd

which means it could run on any platform that LLVM has SIMD implementation.

BENCHMARKS

could be found at github pages part

USAGE

same as the official one

TODO

  • Implement SIMD for hash4
  • DOCS
  • reformats
Commit count: 18

cargo fmt