Interface ISaveSystemEncryption
Save System Encryption interface.
Namespace: Bayat.SaveSystem.Security
Assembly: Bayat.SaveSystem.Runtime.dll
Syntax
public interface ISaveSystemEncryption
Methods
| Improve this Doc View SourceGetReadStream(IStorageStream, String)
Gets the cryptographic stream by using the given stream for reading encrypted data. (Decrypting)
Declaration
SaveSystemCryptoStream GetReadStream(IStorageStream stream, string password)
Parameters
Type | Name | Description |
---|---|---|
IStorage |
stream | The raw stream |
System. |
password | The decryption password |
Returns
Type | Description |
---|---|
Save |
A cryptographic stream wrapper which has an underlying System. |
GetWriteStream(IStorageStream, String)
Gets the cryptographic stream by using the given stream for writting encrypted data. (Encrypting)
Declaration
SaveSystemCryptoStream GetWriteStream(IStorageStream stream, string password)
Parameters
Type | Name | Description |
---|---|---|
IStorage |
stream | The raw stream |
System. |
password | The encryption password |
Returns
Type | Description |
---|---|
Save |
A cryptographic stream wrapper which has an underlying System. |