crypt(3trf)
π crypt β the NAME moment π
okay so bestie, this is crypt β password hashing based on "crypt". that's the whole vibe. β¨
πΈ SYNOPSIS πΈ
package require Tcl ?8.2?
package require Trf ?2.1.3?
crypt password salt
no cap, that's it. three lines and you're in. π«Ά
π¦ DESCRIPTION π¦
so likeβ¦ crypt is literally an interface to the crypt(3) function, and its whole job is the encryption of passwords. iconic behaviour, honestly. π
and if you want the same thing but based on md5 instead? there's an alternative command for exactly that, and it's called md5crypt. two paths, one destiny, you pick. π
β¨ crypt password salt β¨
this one right here:
- encrypts the password using the specified salt πΈ
- and returns the generated hash value as the result of the command π
that's the whole deal. pass in a password, pass in a salt, get a hash back. main character energy from a two-argument command, we love to see it. π
π₯ SEE ALSO π₯
md5crypttrf-intro
go read those too, bestie, i'm not kidding. iykyk. π
π KEYWORDS π
authentication, crypt, hash, hashing, mac, md5, message digest, password
(yeah that's the full list, i'm not skipping a single one, that would be a crime. π)
π COPYRIGHT π
Copyright (c) 1996-2003, Andreas Kupries <andreas_kupries@users.sourceforge.net>
respect the author fr fr π«Ά
π ok and for the little sign-off moment: this page lives in the Trf transformer commands corner of the world, version 2.1.3, filed under crypt(3trf). that's the source, that's the version, that's the whole page. slay, bye bestie πβ¨π
π¦ where this page comes from
- debian bookworm: tcl-trf-doc 2.1.4-dfsg3-2.1
- debian trixie: tcl-trf-doc 2.1.4-dfsg3-8
- ubuntu jammy: tcl-trf-doc 2.1.4-dfsg3-2.1build1
- ubuntu noble: tcl-trf-doc 2.1.4-dfsg3-3
- ubuntu questing: tcl-trf-doc 2.1.4-dfsg3-8
- ubuntu resolute: tcl-trf-doc 2.1.4-dfsg3-8build1
- ubuntu stonking: tcl-trf-doc 2.1.4-dfsg3-9build1
- Copyright (c) 1996-2003, Andreas Kupries <andreas_kupries@users.sourceforge.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms