public static string Encrypt(string text, string key, CryptType cryptType) { var crypter = CrypterFactory.Create(cryptType); return(crypter.Encrypt(text, key)); }
public static string Encrypt(int number, string key, CryptType cryptType) { var crypter = CrypterFactory.Create(cryptType); return(crypter.Encrypt(number, key)); }