Install
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.8Latest, 2 Nov 2026
123MDownloads, last 90 days
0Advisories on the latest
1Advisories, all versions
Apache-2.0 OR MITLicence
693Stars
4.6/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Non-constant-time mask generation and `u128` comparisons RUSTSEC-2026-0385 | Fixed in 0.4.4 | 23 Oct 2026 |
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.