unix-crypt 0.1.0

Rust reimplementation of various unix crypt(3) algorithms.
Documentation
  • Coverage
  • 0%
    0 out of 5 items documented0 out of 3 items with examples
  • Size
  • Source code size: 17.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 227.01 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LunarLambda

unix-crypt

Rust reimplementation of various Unix crypt() password algorithms.

Capable of producing and verifying password hashes suitable for use in shadow and htpasswd files. See crypt.5 for information about algorithms and hash formats.

⚠️ Do not use this crate as a general purpose password library.

TODO: Concrete spec of what this library permits and doesn't permit, as implementations and manual pages tend to diverge pretty significantly.

Supported algorithms:

  • bcrypt (Version 2b)
  • sha512crypt
  • sha256crypt
  • Apache MD5 ("apr1")

Algorithms considered obsolete or insecure are not implemented, for example sha1crypt or descrypt.