keyoxide-web/views/util/bcrypt.pug

29 lines
1,003 B
Text
Raw Normal View History

2022-09-28 05:08:12 -06:00
extends ../templates/base.pug
block content
section.narrow
h1 bcrypt utility
h2 Generate bcrypt hash
form#form-util-bcrypt-generate(method='post')
p
| This tool generates
a(href='https://en.wikipedia.org/wiki/Bcrypt') bcrypt
| hashes useful to
a(href='https://docs.keyoxide.org/understanding-keyoxide/identity-proof-formats/#Hashed_URI') conceal identity proofs
| . Be sure to include "openpgp4fpr:" for a valid proof!
h3 Input
input.input(type='text' name='input' placeholder='openpgp4fpr:…' value=input)
h3 Hash
pre
code.output.full-width.select-all Waiting for input…
h2 Verify bcrypt hash
form#form-util-bcrypt-verify(method='post')
h3 Input
input.input(type='text' name='input' placeholder='openpgp4fpr:…' value=input)
h3 Hash
input.hash(type='text' name='hash' placeholder='$2a$…')
h3 Output
pre
code.output.full-width Waiting for input…