public static Task <string> DecryptFileAsync(this ICipher cipher, string file) { return(Task.Run(() => cipher.DecryptToString(File.ReadAllBytes(file)))); }
public static Task <string> DecryptFileAsync(this ICipher cipher, string file) { return(Task.Run(() => cipher.DecryptToString(File.ReadAllBytes(file)))); }