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 2026Releases
latest 50-
0.11.025 Mar 2026Release notes
Open source →Changed
- Edition changed to 2024 and MSRV bumped to 1.85 (#652)
- Relax MSRV policy and allow MSRV bumps in patch releases
- Update to
digestv0.11 - Replace type aliases with newtypes (#678)
compress256andcompress512are moved to theblock_apimodule (#678)- Implementation of the
SerializableStatetrait (#716) - Configuration flags for backend selection (#614, #615, #686, #802)
Added
Removed
-
0.11.0-rc.502 Feb 2026 pre-releaseNothing published for this version
-
0.11.0-rc.424 Jan 2026 pre-releaseNothing published for this version
-
0.11.0-rc.305 Nov 2025 pre-releaseNothing published for this version
-
0.11.0-rc.202 Sep 2025 pre-releaseNothing published for this version
-
0.11.0-rc.029 May 2025 pre-releaseNothing published for this version
-
0.11.0-pre.505 Mar 2025 pre-releaseNothing published for this version
-
0.11.0-pre.426 Jul 2024 pre-releaseNothing published for this version
-
0.11.0-pre.301 Feb 2024 pre-releaseNothing published for this version
-
0.11.0-pre.217 Jan 2024 pre-releaseNothing published for this version
-
0.11.0-pre.110 Jan 2024 pre-releaseNothing published for this version
-
0.11.0-pre.008 Jan 2024 pre-releaseNothing published for this version
-
0.10.930 Apr 2025Release notes
Open source →Added
force-soft-compactcrate feature to enable compact software backend (backport of [#686]) #687
-
0.10.826 Sep 2023Release notes
Open source →Added
asm!-based backend for LoongArch64 targets gated behindloongarch64_asmfeature #507
-
0.10.715 Jun 2023 -
0.10.616 Sep 2022 -
0.10.502 Sep 2022 -
0.10.402 Sep 2022Release notes
Open source →Fixed
- MSRV issue caused by publishing v0.10.3 using a buggy Nightly toolchain (#399)
-
0.10.330 Aug 2022 -
0.10.217 Feb 2022 -
0.10.106 Jan 2022 -
0.10.007 Dec 2021 withdrawn -
0.9.906 Jan 2022 -
0.9.809 Sep 2021 withdrawn -
0.9.708 Sep 2021 withdrawn -
0.9.627 Aug 2021 -
0.9.511 May 2021Release notes
Open source →Changed
- Use
cpufeaturesto detect intrinsics support onaarch64targets (#267)
- Use
-
0.9.405 May 2021Release notes
Open source → -
0.9.330 Jan 2021Release notes
Open source →Changed
- Use the SHA-NI extension backend with enabled
asmfeature. (#224)
- Use the SHA-NI extension backend with enabled
-
0.9.203 Nov 2020Release notes
Open source →Added
force-softfeature to enforce use of software implementation. (#203)
Changed
cfg-ifdependency updated to v1.0. (#197)
-
0.9.124 Jun 2020Release notes
Open source →Added
- x86 hardware acceleration of SHA-256 via SHA extension intrinsics. (#167)
-
0.9.010 Jun 2020 -
0.8.224 May 2020Release notes
Open source → -
0.8.106 Jan 2020Nothing published for this version
-
0.8.002 Oct 2018Nothing published for this version
-
0.7.127 Apr 2018Nothing published for this version
-
0.7.015 Nov 2017Nothing published for this version
-
0.6.012 Jun 2017Nothing published for this version
-
0.5.304 Jun 2017 withdrawnNothing published for this version
-
0.5.209 May 2017 withdrawnNothing published for this version
-
0.5.102 May 2017 withdrawnNothing published for this version
-
0.5.006 Apr 2017 withdrawnNothing published for this version
-
0.4.223 Jan 2017 withdrawnNothing published for this version
-
0.4.120 Jan 2017 withdrawnNothing published for this version
-
0.4.025 Dec 2016 withdrawnNothing published for this version
-
0.3.017 Nov 2016 withdrawnNothing published for this version
-
0.2.026 Oct 2016 withdrawnNothing published for this version
-
0.1.206 May 2016 withdrawnNothing published for this version
-
0.1.106 May 2016 withdrawnNothing published for this version
-
0.1.006 May 2016 withdrawnNothing published for this version