Password hashing · Client-side
bcrypt File Hash Generator
Upload a file and derive a bcrypt hash without transmitting any content. Tune the cost factor, customise salts, and validate expected hashes directly in the browser. Prefer working with text? Use the bcrypt text tool →
File bcrypt hash
Hash uploaded files with bcrypt using client-side computation. Only the first 72 bytes are hashed by the algorithm, so ensure your input fits within bcrypt's limitations.
Upload a file
Click to browse or drag & drop files here
bcrypt is limited to the first 72 bytes; larger files will be truncated by the algorithm.
Select a file to produce a bcrypt hash.
Select a file and provide a hash to validate.
Increase the cost for stronger resistance to brute force attacks at the expense of longer hashing times.
Leave blank to generate a random 16-byte salt automatically.
bcrypt for files
Although bcrypt is primarily designed for password hashing, the file workflow is handy when you need deterministic hashing of short secrets or configuration files. The cost factor (log rounds) controls the computational effort—each increment doubles the work required for attackers and legitimate verifiers alike.
Salts must be exactly 16 bytes. Let the tool generate them or pass in your own (base64 or hex) when you need a stable hash across environments. Store the salt beside the resulting hash so verifiers can reproduce the derivation later.
bcrypt truncates inputs beyond 72 bytes. For larger artifacts or integrity checks, prefer multi-megabyte capable hashers such as SHA-2, SHA-3, BLAKE2, or BLAKE3.