Interface IEncryptor
Assembly: SensusAndroid.dll
Syntax
public interface IEncryptor
Methods
DecryptToString(Byte[], Encoding)
Declaration
string DecryptToString(byte[] encryptedBytes, Encoding encoding)
Parameters
Type |
Name |
Description |
System.Byte[] |
encryptedBytes |
|
System.Text.Encoding |
encoding |
|
Returns
Type |
Description |
System.String |
|
Encrypt(Byte[])
Declaration
byte[] Encrypt(byte[] unencryptedBytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
unencryptedBytes |
|
Returns
Type |
Description |
System.Byte[] |
|
Encrypt(String, Encoding)
Declaration
byte[] Encrypt(string unencryptedValue, Encoding encoding)
Parameters
Type |
Name |
Description |
System.String |
unencryptedValue |
|
System.Text.Encoding |
encoding |
|
Returns
Type |
Description |
System.Byte[] |
|