keyoxide-web/views/util/argon2.pug
2023-09-22 10:22:35 +02:00

30 lines
No EOL
1.1 KiB
Text

extends ../templates/base.pug
block content
section
h1 Argon2 utility
h2 Generate Argon2 hash
form#form-util-argon2-generate(method='post')
p
| This tool generates
a(href='https://en.wikipedia.org/wiki/Argon2') Argon2
| 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 OpenPGP proof! For ASP, enter the entire URI beginning with "aspe:".
h3 Input
input.input.half-width(type='text' name='input' placeholder='openpgp4fpr:…' value=input)
h3 Hash
pre
code.output.full-width.select-all Waiting for input…
p.feedback
h2 Verify Argon2 hash
form#form-util-argon2-verify(method='post')
h3 Input
input.input.half-width(type='text' name='input' placeholder='openpgp4fpr:…' value=input)
h3 Hash
input.hash.half-width(type='text' name='hash' placeholder='$argon2…')
h3 Output
pre
code.output.full-width Waiting for input…