using System.Text; using System.Threading.Tasks; using WalletConnectSharp.Core.Models; namespace WalletConnectSharp.Core.Network { public interface ICipher { Task EncryptWithKey(byte[] key, string data, Encoding encoding = null); Task DecryptWithKey(byte[] key, EncryptedPayload encryptedData, Encoding encoding = null); } }