The Argon2 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 Argon2 class

import { Argon2 } from "@payvo/sdk-crypto";

Hash a value


Verify that a value matches the expected hash

Argon2.verify(Bcrypt.hash("password"), "password");
2021 © | All Rights Reserved
An Product