[crypto.password.hash]
crypto.password.hash is a slot in the crypto namespace, in Hyperlambda, the language of Magic Cloud. Hashes a plaintext password with bcrypt and a per-user salt; check candidates later with [crypto.password.verify].
- Value (
password,text), required: Password to hash - Returns: Resolves to the password hash
JSON declaration
This is the complete declaration of crypto.password.hash, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "crypto.password.hash",
"description": "Hashes a plaintext password with bcrypt and a per-user salt; check candidates later with [crypto.password.verify]",
"signature": {
"input": {
"kind": "password,text",
"description": "Password to hash",
"required": true,
"mode": "ValueOrExpression"
},
"output": {
"mode": "Value",
"kind": "password-hash,text",
"description": "Resolves to the password hash"
}
}
}
← crypto.hash.sha512 |
all crypto.* slots |
crypto.password.verify → |