Browse Source

Update string-encryption.md

pull/22683/head
maliming 1 year ago
committed by GitHub
parent
commit
f3fb1f7351
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      docs/en/framework/infrastructure/string-encryption.md

6
docs/en/framework/infrastructure/string-encryption.md

@ -52,11 +52,11 @@ All encryption operations are included in `IStringEncryptionService`. You can in
public string Encrypt(string value) public string Encrypt(string value)
{ {
// To enrcypt a value // To encrypt a value
return StringEncryptionService.Encrypt(value); return StringEncryptionService.Encrypt(value);
} }
public string Decrpyt(string value) public string Decrypt(string value)
{ {
// To decrypt a value // To decrypt a value
return StringEncryptionService.Decrypt(value); return StringEncryptionService.Decrypt(value);
@ -122,4 +122,4 @@ Configure<AbpStringEncryptionOptions>(opts =>
- **Keysize:** This constant is used to determine the keysize of the encryption algorithm. - **Keysize:** This constant is used to determine the keysize of the encryption algorithm.
Default value: `256` Default value: `256`

Loading…
Cancel
Save