ctutils
Constant-time utility library with selection and equality testing support targeting cryptographic applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate.
0.4.2
51M downloads/mo
#1202 most downloaded on crates.io
RustCrypto/utils
What this package is like to depend on
Last release 4 months ago
02 Apr 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 9 of 9 stable releases
7 versions withdrawn
withdrawn after publishing
8 months old
22 releases · first in 2025
22 releases in the last 12 months
see the full history below
Release timeline
22 releases · Dec 2025 to Apr 2026Releases
latest 22-
0.4.202 Apr 2026 -
0.4.102 Apr 2026Release notes
Open source → -
0.4.020 Jan 2026Release notes
Open source →Added
core::num::NonZero<T>support (#1368)- Pluggable trait impls for
[T]and[T; N]using helper traits: (#1388)CtAssign:CtAssignSliceCtEq:CtEqSliceCtSelect:CtSelectArray
CtSelectUsingCtAssignmarker trait (#1391)
Changed
Removed
-
0.4.0-pre.519 Jan 2026 pre-releaseNothing published for this version
-
0.4.0-pre.418 Jan 2026 pre-releaseNothing published for this version
-
0.4.0-pre.318 Jan 2026 pre-releaseNothing published for this version
-
0.4.0-pre.218 Jan 2026 pre-releaseNothing published for this version
-
0.4.0-pre.117 Jan 2026 pre-releaseNothing published for this version
-
0.4.0-pre.016 Jan 2026 pre-releaseNothing published for this version
-
0.3.216 Jan 2026 -
0.3.103 Jan 2026Release notes
Open source → -
0.3.029 Dec 2025 -
0.2.329 Dec 2025 -
0.2.228 Dec 2025 -
0.2.128 Dec 2025Release notes
Open source →Added
- Enhanced
subtleinterop (#1289)
Security
- Pin to
cmovv0.4.3+ - includes important security fixes (#1304)
- Enhanced
-
0.2.027 Dec 2025 withdrawn -
0.1.427 Dec 2025 withdrawn -
0.1.327 Dec 2025 withdrawn -
0.1.227 Dec 2025 withdrawn -
0.1.126 Dec 2025 withdrawnRelease notes
Open source → -
0.1.020 Dec 2025 withdrawn -
0.0.018 Dec 2025 withdrawnNothing published for this version