Handbook
Glossary
>>encoded-password ( user string -- user )
Vocabulary
furnace
.
auth
Inputs
user
an
user
string
a
string
Outputs
user
an
user
Word description
Sets the user's password by combining it with a random salt and encoding it with the current authentication realm's checksum.
Definition
USING:
accessors
kernel
random
;
IN:
furnace.auth
:
>>encoded-password
( user string -- user )
32
random-bits
[
encode-password
]
keep
[
>>password
]
[
>>salt
]
bi*
;
inline