bcrypt
The Bcrypt
class provides methods to extract the numerical value out of any currency representation by normalizing the input and removing any locale specific rules like symbols and use of commas.
Importing the Bcrypt class
1import { Bcrypt } from "@ardenthq/sdk-cryptography";
Hash a value
1Bcrypt.hash("password");
Verify that a value matches the expected hash
1Bcrypt.verify(Bcrypt.hash("password"), "password");
Last updated 2 years ago
Edit Page