const_time_enc 0.1.0

a Rust port of ParagonIE's constant time encodings for PHP
Documentation
  • Coverage
  • 70%
    7 out of 10 items documented0 out of 4 items with examples
  • Size
  • Source code size: 21.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.44 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • holmesmr

const_time_enc

Build Status Latest Version

A crate containing a Rust port of ParagonIE's constant time encodings for PHP. No extra dependencies.

WARNING

As per the terms of the license, no guarantee of correctness, fitness for use, or acceptance of liability is made. I am not a professional cryptographer and I nor anyone else have audited this code. All use is strictly at your own risk.

The performance will already be significantly worse than any lookup-based hex/base64 encoding, but be aware that since this library does not have or intend to have unsafe code, it may not be suitably performant for your usecase.

FEATURES

  • Base64 encoding
  • Base64 decoding
  • Hex (base16) encoding
  • Hex (base16) decoding
  • Base32 encoding
  • Base32 decoding
  • Base32 (hex variant) encoding
  • Base32 (hex variant) decoding
  • #![no_std] support