export default class Crypto {
// iterations: It must be a number and should be set as high as possible.
// So, the more is the number of iterations, the more secure the derived key will be,
// but in that case it takes greater amount of time to complete.
// number of interation - the value of 2145 is randomly chosen
private static iteration = 10;
// algorithm - AES 256 GCM Mode
private static encryptionAlgorithm = "AES-GCM";
OlderNewer