bcrypt-hash
Generate a bcrypt hash for secure password storage or verify a password against an existing hash using customizable salt rounds.
Instructions
Generate bcrypt hash or verify password against hash
Input Schema
Name | Required | Description | Default |
---|---|---|---|
hash | No | Existing hash to verify against (for verification) | |
password | Yes | Password to hash or verify | |
rounds | No | Number of salt rounds (4-12, default 10) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"hash": {
"description": "Existing hash to verify against (for verification)",
"type": "string"
},
"password": {
"description": "Password to hash or verify",
"type": "string"
},
"rounds": {
"description": "Number of salt rounds (4-12, default 10)",
"type": "number"
}
},
"required": [
"password"
],
"type": "object"
}