Skip to content

Instantly share code, notes, and snippets.

@thameera
Last active June 9, 2021 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thameera/da1d4823aaac9e739e1f5e24ef4b63af to your computer and use it in GitHub Desktop.
Save thameera/da1d4823aaac9e739e1f5e24ef4b63af to your computer and use it in GitHub Desktop.
sha256 password hash import example
[
{
"email": "thameera@example.com",
"email_verified": false,
"custom_password_hash": {
"algorithm": "sha256",
"hash": {
"value": "7054f76f832d2d4e244f73b3f3f4c3702cb60a573ed12441c90f159df560fcb5",
"encoding": "hex"
},
"salt": {
"value": "keyboardcat",
"position": "prefix"
}
},
"app_metadata": {
"color": "red",
"flag": 5
},
"user_metadata": {
"country": "AU"
}
}
]
The plain-text value of the password is 'hello' (without the quotes).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment