Tech Tip: Verify password hash only accepts hashes from bcrypt
PRODUCT: 4D | VERSION: 18 | PLATFORM: Mac & Win
Published On: April 30, 2020
The Verify password hash command checks a given password against a given hash. Currently, only bcrypt algorithm is supported for hashes. Therefore, if you try to pass a hash that was not generated by bcrypt, you will get a "Password-hash: Unsupported algorithm" error. 4D recognizes a brcypt hash if the hash is prefixed with "$2_$", where the blank is any letter.