Closed Brazoli closed 3 years ago
hina@bouhime.com
):@foo
in your public profile page's URL)hina@bouhime.com
) or send a Direct Message on Twitter (@fetus_hina
) with the information below:@foo
in your public profile page's URL)If you can use some programming language:
Generate hashed password with Argon2i or Argon2id.
Example in PHP (7.3 or later, if you use PHP 7.2 you can use PASSWORD_ARGON2I
): (new_password
should be replaced with your password)
<?php
printf("%s\n", password_hash('new_password', PASSWORD_ARGON2ID));
It will be generated like this:
$argon2id$v=19$m=65536,t=4,p=1$hWRHMvFjYc3lSIbBG0B46g$pCSUP7FwG0GzzVgjR4iXHfazL36rCNWRf1jRw0i0PSY
Generate hashed password with Bcrypt with pre-processed password: (pseudo-code)
password := 'new_password'
hash_binary := sha256_binary( password )
b64_string := base64_encode( hash_binary )
b64_string_trimmed := trim_right( b64_string, '=' ) // remove padding on the right side (===)
preprocessed := substring( b64_string_trimmed + ":" + password, 0, 72 )
hashed_password := bcrypt( preprocessed )
The preprocess method in our real code.
Debugging information (the preprocessed
value when input new_password
as a password):
ALnmYiMXovtijVUUuGbU58UrWxSQJ4JWRa4/1ygn6E4:new_password
And finally generated like this:
$2y$10$MGblEME4BnG4/0bOPESPLOj3WF36pFvKmVBZFECSdHzF1.VKHOeS2
Note 1: The $2y$
part may be one of the following, depending on the environment in which it is generated: $2$
, $2a$
, $2b$
, $2x$
or $2y$
.
Note 2: The $10$
part can be any number between $04$
and $31$
.
wandbox.fetus.jp
is one of my website.
Note 2: Do NOT click "Share This Code" button after edit the code. Your password will be stored in my server INDEFINITELY.
I'm having trouble accessing my account, is it possible to reset the password and recover my profile?