You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicEncryptorEncrypt(stringdata,Encoding...);
public EncryptorEncrypt(byte[]data);publicEncryptorEncrypt(ReadOnlySpan<byte>data);publicEncryptorEncrypt(Streamdata);
the Encryptor object would then have methods similar to the following:
public string ToBase64String();
public byte ToByteArray();
public Memory<Byte> ToMemory(); ????
public void ToStream(Stream output);
...and similar for decryption.
Should give it a nice, clean API without having to worry about all the conversions and all that.
The text was updated successfully, but these errors were encountered:
The API should be similar to the following:
the
Encryptor
object would then have methods similar to the following:...and similar for decryption.
Should give it a nice, clean API without having to worry about all the conversions and all that.
The text was updated successfully, but these errors were encountered: