machinepack-passwords
Version:
Encrypt or compare passwords.
27 lines (26 loc) • 792 B
JSON
{
"machine": "check-password",
"expectations": [
{
"using": {
"passwordAttempt": "what do you call a frog that that got turned inside out",
"encryptedPassword": "$2a$10$zvMsyp/DjB7crmJT8KTgte82lq6nNQc.oVaj7ZDNz9W0hxfWGKooS"
},
"outcome": "success"
},
{
"using": {
"passwordAttempt": "what do you call a frog that that got turned inside out",
"encryptedPassword": "$2a$12$Dj85ZTKsRqSphFQdvxuDS.RotQeHXuYObcUEb4ooVHnEsUU1EM93u"
},
"outcome": "success"
},
{
"using": {
"passwordAttempt": "what do you call a frog that that got turned inside out",
"encryptedPassword": "$2a$10$lOZ7rGazT97n5WwW2iDSWuUfykR.aXYBnKkuEsOJvF035f0abnpEW"
},
"outcome": "incorrect"
}
]
}