PackageTrack
Sign in Get early access

crypto-common

Common traits used by cryptographic algorithms

0.2.2 782M downloads/mo #92 most downloaded on crates.io RustCrypto/traits

What this package is like to depend on

Last release 3 months ago

19 May 2026

Release timing varies

gaps range from 1 weeks to 6 months

Nearly every release is documented

notes for 10 of 11 stable releases

1 version withdrawn

withdrawn after publishing

6 years old

35 releases · first in 2021

16 releases in the last 12 months

see the full history below

Release timeline

35 releases · Feb 2021 to May 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 35
  1. 0.2.2 19 May 2026
    Release notes

    Added

    • SetIvState trait (#2420)
    Open source →
    Release notes

    Added

    • SetIvState trait (#2420)
    Open source →
  2. 0.2.1 25 Feb 2026
    Release notes

    Changed

    • BlockSizeUser::BlockSize is no longer bounded by BlockSizes (#2309)

    Removed

    • BlockSizes trait (#2309)
    Open source →
  3. 0.2.0 04 Feb 2026 withdrawn
    Release notes

    Note: this version was yanked because v0.2.1 introduces breaking changes. Users should migrate to v0.2.1 using cargo update.

    Added

    • Sealed BlockSizes trait implemented for types from U1 to U255 (#1172)
    • SerializableState trait under hazmat module (#1369)
    • OutputSize type alias (#1533)
    • IvState trait (#1636)
    • core::error::Error impls for error types (#1660)
    • Generate trait as a common RNG API (#2096, #2145)
    • TryKeyInit trait (#2097)
    • Re-export getrandom (#2152)
    • KeyExport trait (#2213)

    Changed

    • Replaced generic-array with hybrid-array (#1319, #1976)
    • BlockUser::BlockSize is now bounded by the BlockSizes trait
    • Edition changed to 2024 and MSRV bumped to 1.85 (#1759)
    • generate_* methods on KeyInit and KeyIvInit traits have been deprecated in favor of the new Generate trait (#2162)
    • Bump rand_core to v0.10 (#2250)
    • Bump getrandom to v0.4 (#2258)

    Removed

    Open source →
  4. 0.2.0-rc.15 02 Feb 2026 pre-release

    Nothing published for this version

  5. 0.2.0-rc.14 01 Feb 2026 pre-release

    Nothing published for this version

  6. 0.2.0-rc.13 24 Jan 2026 pre-release

    Nothing published for this version

  7. 0.2.0-rc.12 22 Jan 2026 pre-release

    Nothing published for this version

  8. 0.2.0-rc.11 20 Jan 2026 pre-release

    Nothing published for this version

  9. 0.2.0-rc.10 19 Jan 2026 pre-release

    Nothing published for this version

  10. 0.2.0-rc.9 04 Jan 2026 pre-release

    Nothing published for this version

  11. 0.2.0-rc.8 27 Dec 2025 pre-release

    Nothing published for this version

  12. 0.2.0-rc.7 26 Dec 2025 pre-release

    Nothing published for this version

  13. 0.2.0-rc.6 24 Dec 2025 pre-release

    Nothing published for this version

  14. 0.2.0-rc.5 05 Nov 2025 pre-release

    Nothing published for this version

  15. 0.2.0-rc.4 02 Sep 2025 pre-release

    Nothing published for this version

  16. 0.2.0-rc.3 28 May 2025 pre-release

    Nothing published for this version

  17. 0.2.0-rc.2 22 Feb 2025 pre-release

    Nothing published for this version

  18. 0.2.0-rc.1 14 Aug 2024 pre-release

    Nothing published for this version

  19. 0.2.0-rc.0 26 Jul 2024 pre-release

    Nothing published for this version

  20. 0.2.0-pre.5 01 Feb 2024 pre-release

    Nothing published for this version

  21. 0.2.0-pre.4 10 Jan 2024 pre-release

    Nothing published for this version

  22. 0.2.0-pre.3 31 Dec 2023 pre-release

    Nothing published for this version

  23. 0.2.0-pre.2 31 Dec 2023 pre-release

    Nothing published for this version

  24. 0.2.0-pre.1 30 Dec 2023 pre-release

    Nothing published for this version

  25. 0.2.0-pre 19 Dec 2022 pre-release

    Nothing published for this version

  26. 0.1.7 12 Nov 2025
    Release notes

    Changed

    • Pin generic-array to v0.14.7 (#2088)
    Open source →
  27. 0.1.6 16 Jul 2022
    Release notes

    Added

    • Move ParBlocks/ParBlocksSizeUser from cipher crate (#1052)
    Open source →
  28. 0.1.5 09 Jul 2022
    Release notes

    Fixed

    • Support on-label MSRV (#1049)
    Open source →
  29. 0.1.4 02 Jul 2022
    Release notes

    Added

    • getrandom feature (#1034)
    Open source →
  30. 0.1.3 16 Feb 2022
    Release notes

    Fixed

    • Minimal versions build (#940)
    Open source →
  31. 0.1.2 10 Feb 2022
    Release notes

    Added

    • Re-export generic-array and typenum. Enable more_lengths feature on generic-array. Add key_size, iv_size, block_size, and output_size helper methods. (#849)
    Open source →
  32. 0.1.1 14 Dec 2021
    Release notes

    Added

    • rand_core re-export and proper exposure of key/IV generation methods on docs.rs (#847)
    Open source →
  33. 0.1.0 07 Dec 2021
    Release notes
    • Initial release
    Open source →
  34. 0.1.0-pre 28 Apr 2021 pre-release

    Nothing published for this version

  35. 0.0.0 10 Feb 2021

    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