PackageTrack
Sign in Get early access

sha2

Pure Rust implementation of the SHA-2 hash function family including SHA-224, SHA-256, SHA-384, and SHA-512.

0.11.0 863M downloads/mo #66 most downloaded on crates.io RustCrypto/hashes

What this package is like to depend on

Last release 5 months ago

25 Mar 2026

Release timing varies

gaps range from 8 days to 7 months

Most releases are documented

notes for 19 of 24 stable releases

15 versions withdrawn

withdrawn after publishing

10 years old

50 releases · first in 2016

5 releases in the last 12 months

see the full history below

Release timeline

50 releases · May 2016 to Mar 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 50
  1. 0.11.0 25 Mar 2026
    Release notes

    Changed

    • Edition changed to 2024 and MSRV bumped to 1.85 (#652)
    • Relax MSRV policy and allow MSRV bumps in patch releases
    • Update to digest v0.11
    • Replace type aliases with newtypes (#678)
    • compress256 and compress512 are moved to the block_api module (#678)
    • Implementation of the SerializableState trait (#716)
    • Configuration flags for backend selection (#614, #615, #686, #802)

    Added

    • alloc crate feature (#678)
    • RISC-V scalar crypto extension support (#614)

    Removed

    • asm, asm-aarch64, loongarch64_asm, and compress crate features (#542)
    • soft crate feature (#615)
    • force-soft-compact crate feature (#686)
    • std crate feature (#678)
    Open source →
  2. 0.11.0-rc.5 02 Feb 2026 pre-release

    Nothing published for this version

  3. 0.11.0-rc.4 24 Jan 2026 pre-release

    Nothing published for this version

  4. 0.11.0-rc.3 05 Nov 2025 pre-release

    Nothing published for this version

  5. 0.11.0-rc.2 02 Sep 2025 pre-release

    Nothing published for this version

  6. 0.11.0-rc.0 29 May 2025 pre-release

    Nothing published for this version

  7. 0.11.0-pre.5 05 Mar 2025 pre-release

    Nothing published for this version

  8. 0.11.0-pre.4 26 Jul 2024 pre-release

    Nothing published for this version

  9. 0.11.0-pre.3 01 Feb 2024 pre-release

    Nothing published for this version

  10. 0.11.0-pre.2 17 Jan 2024 pre-release

    Nothing published for this version

  11. 0.11.0-pre.1 10 Jan 2024 pre-release

    Nothing published for this version

  12. 0.11.0-pre.0 08 Jan 2024 pre-release

    Nothing published for this version

  13. 0.10.9 30 Apr 2025
    Release notes

    Added

    • force-soft-compact crate feature to enable compact software backend (backport of [#686]) #687
    Open source →
  14. 0.10.8 26 Sep 2023
    Release notes

    Added

    • asm!-based backend for LoongArch64 targets gated behind loongarch64_asm feature #507
    Open source →
  15. 0.10.7 15 Jun 2023
    Release notes

    Added

    • AArch64 Neon-based backend (#490)
    Open source →
  16. 0.10.6 16 Sep 2022
    Release notes

    Added

    • Feature-gated OID support (#405)
    Open source →
  17. 0.10.5 02 Sep 2022
    Release notes

    Fixed

    • MSRV issue which was not resolved by v0.10.4 (#401)
    Open source →
  18. 0.10.4 02 Sep 2022
    Release notes

    Fixed

    • MSRV issue caused by publishing v0.10.3 using a buggy Nightly toolchain (#399)
    Open source →
  19. 0.10.3 30 Aug 2022
    Release notes

    Changed

    • Ignore asm feature on unsupported targets (#388)
    Open source →
  20. 0.10.2 17 Feb 2022
    Release notes

    Fixed

    • Minimal versions build (#363)
    Open source →
  21. 0.10.1 06 Jan 2022
    Release notes

    Fixed

    • Bug in the AVX2 backend ([#345])
    Open source →
  22. 0.10.0 07 Dec 2021 withdrawn
    Release notes

    Changed

    • Update to digest v0.10 (#217)
    • Rename Sha512Trunc224 and Sha512Trunc256 to Sha512_224 and Sha512_256 respectively. (#217)
    Open source →
  23. 0.9.9 06 Jan 2022
    Release notes

    Fixed

    • Backport #345 bug fix for the AVX2 backend (#346)
    Open source →
  24. 0.9.8 09 Sep 2021 withdrawn
    Release notes

    Fixed

    • Bug in the AVX2 backend (#314)
    Open source →
  25. 0.9.7 08 Sep 2021 withdrawn
    Release notes

    Added

    • x86 intrinsics support for SHA-512 (#312)
    Open source →
  26. 0.9.6 27 Aug 2021
    Release notes

    Changed

    • Bump cpufeatures dependency to 0.2 (#306)
    Open source →
  27. 0.9.5 11 May 2021
    Release notes

    Changed

    • Use cpufeatures to detect intrinsics support on aarch64 targets (#267)
    Open source →
  28. 0.9.4 05 May 2021
    Release notes

    Added

    • Hardware accelerated SHA-256 for Apple M1 CPUs with asm feature (#262)

    Changed

    • Bump sha2-asm to v0.6.1 release (#262)
    • Switch from cpuid-bool to cpufeatures (#263)
    Open source →
  29. 0.9.3 30 Jan 2021
    Release notes

    Changed

    • Use the SHA-NI extension backend with enabled asm feature. (#224)
    Open source →
  30. 0.9.2 03 Nov 2020
    Release notes

    Added

    • force-soft feature to enforce use of software implementation. (#203)

    Changed

    • cfg-if dependency updated to v1.0. (#197)
    Open source →
  31. 0.9.1 24 Jun 2020
    Release notes

    Added

    • x86 hardware acceleration of SHA-256 via SHA extension intrinsics. (#167)
    Open source →
  32. 0.9.0 10 Jun 2020
    Release notes

    Changed

    • Update to digest v0.9 release; MSRV 1.41+ (#155)
    • Use new *Dirty traits from the digest crate (#153)
    • Bump block-buffer to v0.8 release (#151)
    • Rename *result* to finalize (#148)
    • Upgrade to Rust 2018 edition (#133)
    Open source →
  33. 0.8.2 24 May 2020
    Release notes

    Added

    • Expose compression function under the compress feature flag (#108)

    Changed

    • Use libc crate for aarch64 consts (#109)
    • Minor code cleanups (#94)
    Open source →
  34. 0.8.1 06 Jan 2020

    Nothing published for this version

  35. 0.8.0 02 Oct 2018

    Nothing published for this version

  36. 0.7.1 27 Apr 2018

    Nothing published for this version

  37. 0.7.0 15 Nov 2017

    Nothing published for this version

  38. 0.6.0 12 Jun 2017

    Nothing published for this version

  39. 0.5.3 04 Jun 2017 withdrawn

    Nothing published for this version

  40. 0.5.2 09 May 2017 withdrawn

    Nothing published for this version

  41. 0.5.1 02 May 2017 withdrawn

    Nothing published for this version

  42. 0.5.0 06 Apr 2017 withdrawn

    Nothing published for this version

  43. 0.4.2 23 Jan 2017 withdrawn

    Nothing published for this version

  44. 0.4.1 20 Jan 2017 withdrawn

    Nothing published for this version

  45. 0.4.0 25 Dec 2016 withdrawn

    Nothing published for this version

  46. 0.3.0 17 Nov 2016 withdrawn

    Nothing published for this version

  47. 0.2.0 26 Oct 2016 withdrawn

    Nothing published for this version

  48. 0.1.2 06 May 2016 withdrawn

    Nothing published for this version

  49. 0.1.1 06 May 2016 withdrawn

    Nothing published for this version

  50. 0.1.0 06 May 2016 withdrawn

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive