PackageTrack
Sign in Get early access

base64ct

Pure Rust implementation of Base64 (RFC 4648) which avoids any usages of data-dependent branches/LUTs and thereby provides portable "best effort" constant-time operation and embedded-friendly no_std support

1.8.3 369M downloads/mo #306 most downloaded on crates.io RustCrypto/formats

What this package is like to depend on

Last release 7 months ago

12 Jan 2026

Ships unpredictably

gaps range from 8 days to 2.0 years

Nearly every release is documented

notes for 18 of 18 stable releases

12 versions withdrawn

withdrawn after publishing

6 years old

31 releases · first in 2021

3 releases in the last 12 months

see the full history below

Release timeline

31 releases · Jan 2021 to Jan 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 31
  1. 1.8.3 12 Jan 2026
    Release notes

    Added

    • Base64Pbkdf2 alphabet (#2168)
    Open source →
  2. 1.8.2 03 Jan 2026
    Release notes

    Changed

    • Deprecate Base64Crypt (#2135)
    Open source →
  3. 1.8.1 07 Dec 2025
    Release notes

    Added

    • Notes on crypt(3) alphabet variants (#2073)

    Fixed

    • Switch from doc_auto_cfg to doc_cfg (#2072)
    Open source →
  4. 1.8.0 04 Jun 2025
    Release notes

    Changed

    • Bump edition to 2024; MSRV 1.85 (#1839)
    Open source →
  5. 1.7.3 13 Mar 2025
    Release notes

    Changed

    • Don't fail with InvalidLength when reading nothing at end of data (#1716).
    Open source →
  6. 1.7.2 13 Mar 2025
    Release notes

    Changed

    • Revert [#1387]: reject zero-length decode requests as it's a breaking change (#1714)
    Open source →
  7. 1.7.1 11 Mar 2025
    Release notes

    Changed

    • MSRV 1.81 - edition downgraded to 2021 from yanked 1.7.0 release (#1702)
    Open source →
  8. 1.7.0 26 Feb 2025 withdrawn
    Release notes

    Added

    • derive additional traits on alphabets (#1578)

    Changed

    • MSRV 1.85 // Edition 2024 (#1670)
    • reject zero-length decode requests (#1387)
    • use core::error::Error (#1681)
    Open source →
  9. 1.6.0 26 Feb 2023
    Release notes

    Changed

    • MSRV 1.60 (#802)
    • Lint improvements (#824)
    Open source →
  10. 1.5.3 18 Oct 2022
    Release notes

    Added

    • Base64ShaCrypt alphabet (#742)

    Changed

    • Use RangeInclusive for DecodeStep (#713)
    Open source →
  11. 1.5.2 23 Aug 2022
    Release notes

    Fixed

    • Return Ok(0) in io::Read impl to signal end of stream (#704)
    Open source →
  12. 1.5.1 27 Jun 2022
    Release notes

    Fixed

    • Last block validation (#680)
    Open source →
  13. 1.5.0 30 Mar 2022
    Release notes

    Fixed

    • Ensure checked arithmetic with clippy::integer_arithmetic lint (#557)
    • Prevent foreign impls of Encoding by bounding sealed Variant trait (#562)
    Open source →
  14. 1.4.1 11 Mar 2022
    Release notes

    Changed

    • Rename Decoder::decoded_len => ::remaining_len (#500)
    Open source →
  15. 1.4.0 11 Mar 2022 withdrawn
    Release notes

    Added

    • Buffered Encoder type (#366, #455, #457)
    • Decoder::decoded_len method (#403)
    • Impl std::io::Read for Decoder (#404)
    • Bounds for Encoding/Variant ZSTs (#405, #408)
    Open source →
  16. 1.4.0-pre.0 04 Feb 2022 pre-release

    Nothing published for this version

  17. 1.3.3 29 Dec 2021
    Release notes

    Fixed

    • Potential infinite loop in Decoder::decode (#305)
    Open source →
  18. 1.3.2 27 Dec 2021 withdrawn
    Release notes

    Fixed

    • Decoder unpadding (#299)
    • Edge case when using Decoder::new_wrapped (#300)
    Open source →
  19. 1.3.1 20 Dec 2021 withdrawn
    Release notes

    Added

    • Decoder::new_wrapped with support for line-wrapped Base64 (#292, #293, #294)
    Open source →
  20. 1.3.0 03 Dec 2021 withdrawn
    Release notes

    Added

    • Stateful Decoder type (#266)
    Open source →
  21. 1.2.0 03 Nov 2021
    Release notes

    Changed

    • Rust 2021 edition upgrade; MSRV 1.56 (#136)

    Fixed

    Open source →
  22. 1.1.1 14 Oct 2021
    Release notes

    Changed

    • Update Util::Lookup paper references (#32)
    Open source →
  23. 1.1.0 14 Sep 2021
    Release notes

    Changed

    • Moved to formats repo; MSRV 1.51+ (#2)
    Open source →
  24. 1.0.1 14 Aug 2021
    Release notes

    Fixed

    • Make Encoding::decode reject invalid padding
    Open source →
  25. 1.0.0 17 Mar 2021 withdrawn
    Release notes

    Changed

    • Bump MSRV to 1.47+

    Fixed

    • MSRV-dependent TODOs in implementation
    Open source →
  26. 0.2.1 08 Mar 2021 withdrawn
    Release notes

    Fixed

    • MSRV docs
    Open source →
  27. 0.2.0 01 Feb 2021 withdrawn
    Release notes

    Changed

    • Refactor with Encoding trait
    • Internal refactoring
    Open source →
  28. 0.1.2 01 Feb 2021 withdrawn
    Release notes

    Added

    • bcrypt encoding
    • crypt(3) encoding

    Changed

    • Internal refactoring
    Open source →
  29. 0.1.1 27 Jan 2021 withdrawn
    Release notes
    • Minor code improvements
    Open source →
  30. 0.1.0 26 Jan 2021 withdrawn
    Release notes
    • Initial release
    Open source →
  31. 0.0.0 21 Jan 2021 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