{"ok":true,"result":{"slug":"bcrypt-generator","name":"Bcrypt Generator","summary":"Hash a password with bcrypt (random salt), or check a password against an existing bcrypt hash.","description":"Hash a password with bcrypt at cost 4 to 15, check a password against a bcrypt hash, or split a hash into version, cost and salt. Runs in your browser.","method":"POST","endpoint":"/api/v1/tools/bcrypt-generator","plan":"free","mcpName":"bcrypt_generator","input":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","description":"hash: create a new bcrypt hash. verify: check password against hash.","default":"hash","enum":["hash","verify"],"maxLength":200000},"password":{"type":"string","description":"The password. bcrypt only uses the first 72 bytes (UTF-8).","maxLength":1000},"cost":{"type":"integer","description":"Cost factor (log2 rounds) when hashing, 4 to 12. 10–12 is typical.","default":10,"minimum":4,"maximum":12},"version":{"type":"string","description":"Hash prefix when hashing: 2b (modern default), 2y (PHP/Apache) or 2a (legacy).","default":"2b","enum":["2b","2y","2a"],"maxLength":200000},"hash":{"type":"string","description":"The bcrypt hash to check against, e.g. $2b$10$…; required for verify. Cost must be 12 or less.","maxLength":100}},"required":["password"]},"example":{"mode":"hash","password":"correct horse battery staple","cost":10},"randomOutput":true,"network":false,"docs":"https://pithlab.com/developers/tools/bcrypt-generator","page":"https://pithlab.com/tools/bcrypt-generator"}}