public static bool Verify(string input, string hash, EncryptorType encryptorType, string salt) { EncryptorBase enc = Init(encryptorType.ToString()); return enc.Verify(input, hash, salt); }
public static string Encrypt(string input, EncryptorType encryptorType, string salt) { EncryptorBase enc = Init(encryptorType.ToString()); return enc.Encrypt(input, salt); }
public static string Decrypt(string input, EncryptorType encryptorType) { EncryptorBase enc = Init(encryptorType.ToString()); return enc.Decrypt(input); }
public static string Encrypt(string input, EncryptorType encryptorType) { EncryptorBase enc = Init(encryptorType.ToString()); return(enc.Encrypt(input)); }
public static bool Verify(string input, string hash, EncryptorType encryptorType, string salt) { EncryptorBase enc = Init(encryptorType.ToString()); return(enc.Verify(input, hash, salt)); }
public static string Decrypt(string input, EncryptorType encryptorType, string salt) { EncryptorBase enc = Init(encryptorType.ToString()); return(enc.Decrypt(input, salt)); }