Handbook
Glossary
authenticate-password ( shadow password -- ? )
MD5 shadow passwords
Prev:
parse-shadow-password ( string -- magic salt password )
Vocabulary
crypto
.
passwd-md5
Inputs
shadow
a
string
password
a
string
Outputs
?
a
boolean
Word description
Encodes the provided password and compares it to the encoded password entry from a shadowed password file.
Definition
USING:
kernel
;
IN:
crypto.passwd-md5
:
authenticate-password
( shadow password -- ? )
[
[
parse-shadow-password
drop
]
]
dip
[
passwd-md5
]
curry
compose
keep
=
;