public string DecryptText(byte[] encryptedText, string password, EncodingEnums encoding = EncodingEnums.UTF8) { return(encoding.GetEncoding().GetString(Decrypt(encryptedText, password))); }
public byte[] EncryptText(string input, string password, EncodingEnums encoding = EncodingEnums.UTF8) { return(Encrypt(encoding.GetEncoding().GetBytes(input), password)); }