Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
myloveCc authored Jan 29, 2018
1 parent f51b502 commit 71db46e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ Install-Package NETCore.Encrypt -Version 2.0.6
```
- #### DES encrypt bytes at version 2.0.6

```csharp
var srcBytes = new byte[]{xxx};
var decryptedBytes = EncryptProvider.DESEncrypt(srcBytes, key);
```
```csharp
var srcBytes = new byte[]{xxx};
var decryptedBytes = EncryptProvider.DESEncrypt(srcBytes, key);
```
- #### DES decrypt

```csharp
Expand All @@ -103,10 +103,10 @@ var decryptedBytes = EncryptProvider.DESEncrypt(srcBytes, key);

- #### DES decrypt bytes at version 2.0.6

```csharp
var encryptedBytes = new byte[]{xxx};
var decryptedBytes = EncryptProvider.DESDecrypt(encryptedBytes, key);
```
```csharp
var encryptedBytes = new byte[]{xxx};
var decryptedBytes = EncryptProvider.DESDecrypt(encryptedBytes, key);
```

## RSA

Expand Down

0 comments on commit 71db46e

Please sign in to comment.