keyoxide-web/views/util/bcrypt.pug

30 lines
1 KiB
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
2022-09-28 06:01:44 -06:00
input.input.half-width(type='text' name='input' placeholder='openpgp4fpr:…' value=input)
2022-09-28 05:08:12 -06:00
h3 Hash
pre
code.output.full-width.select-all Waiting for input…
2022-10-05 02:52:30 -06:00
p.feedback
2022-09-28 05:08:12 -06:00
h2 Verify bcrypt hash
form#form-util-bcrypt-verify(method='post')
h3 Input
2022-09-28 06:01:44 -06:00
input.input.half-width(type='text' name='input' placeholder='openpgp4fpr:…' value=input)
2022-09-28 05:08:12 -06:00
h3 Hash
2022-09-28 06:01:44 -06:00
input.hash.half-width(type='text' name='hash' placeholder='$2a$…')
2022-09-28 05:08:12 -06:00
h3 Output
pre
code.output.full-width Waiting for input…