unix-crypt

Crates.iounix-crypt
lib.rsunix-crypt
version0.1.0
sourcesrc
created_at2024-08-19 12:52:29.218245
updated_at2024-08-19 12:52:29.218245
descriptionRust reimplementation of various unix crypt(3) algorithms.
homepage
repository
max_upload_size
id1343856
size15,619
Luna Saphie Mittelbach (LunarLambda)

documentation

README

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.

Commit count: 0

cargo fmt