Interface IStringEncryptionService
Namespace: Volo.Abp.Security.Encryption
Assembly: Volo.Abp.Security.dll
Syntax
public interface IStringEncryptionService
Methods
Decrypt(string?, string?, byte[]?)
Declaration
string? Decrypt(string? cipherText, string? passPhrase = null, byte[]? salt = null)
Parameters
Type | Name | Description |
---|---|---|
string | cipherText | |
string | passPhrase | |
byte[] | salt |
Returns
Type | Description |
---|---|
string |
Encrypt(string?, string?, byte[]?)
Declaration
string? Encrypt(string? plainText, string? passPhrase = null, byte[]? salt = null)
Parameters
Type | Name | Description |
---|---|---|
string | plainText | |
string | passPhrase | |
byte[] | salt |
Returns
Type | Description |
---|---|
string |