Handbook
Glossary
parse-shadow-password ( string -- magic salt password )
MD5 shadow passwords
Prev:
passwd-md5 ( magic salt password -- bytes )
Next:
authenticate-password ( shadow password -- ? )
Vocabulary
crypto
.
passwd-md5
Inputs
string
a
string
Outputs
magic
a
string
salt
a
string
password
a
string
Word description
Splits a shadowed password entry into a magic string, a salt, and an encoded password string.
Definition
USING:
kernel
sequences
splitting
;
IN:
crypto.passwd-md5
:
parse-shadow-password
( string -- magic salt password )
"$"
split
harvest
first3
[
"$"
1surround
]
2dip
;