ABP Framework provides string encryption feature that allows to **Encrypt** and **Decrypt** strings.
## Installation
> This package is already installed by default with the startup template. So, most of the time, you don't need to install it manually.
@ -38,8 +36,6 @@ If you want to manually install;
}
```
## Using String Encryption
All encryption operations are included in `IStringEncryptionService`. You can inject it and start to use.
@ -68,14 +64,10 @@ All encryption operations are included in `IStringEncryptionService`. You can in
}
```
### Using Custom PassPhrase
`IStringEncryptionService` methods has **passPharase** parameter with default value and it uses default PassPhrase when you don't pass passPhrase parameter.
- **DefaultPassPhrase**: Default password to encrypt/decrypt texts. It's recommended to set to another value for security. Default value: `gsKnGZ041HLL4IM8`
- **DefaultSalt**: A value which is used as salt while encrypting/decrypting.