Verify the Argon2 hash of an input.
argon2CheckHash(string, hash [, variant])
→ returns boolean
Argon2iArgon2iArgon2dArgon2idhashedValue = GenerateArgon2Hash("CFDocs.org");
dump(hashedValue);
check1 = Argon2CheckHash( "CFDocs.org", hashedValue);
dump( check1 );
check2 = Argon2CheckHash( "DifferentInput", hashedValue);
dump( check2 );
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.