Skip to content

Commit c5d7e77

Browse files
authored
Update README.md
1 parent 7828c0a commit c5d7e77

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ dotnet add package NETCore.Encrypt --version 2.0.8
9393
var desKey = EncryptProvider.CreateDesKey();
9494

9595
```
96-
- #### Create DES Iv $\color{#34a853}{【NEW】}\color{#fbbc05}{【PRE】}$
96+
- #### Create DES Iv
9797

9898
```csharp
9999

@@ -128,14 +128,14 @@ dotnet add package NETCore.Encrypt --version 2.0.8
128128
var decryptedBytes = EncryptProvider.DESDecrypt(encryptedBytes, key);
129129
```
130130

131-
- #### DES encrypt bytes with iv (CBC mode) $\color{#34a853}{NEW】}\color{#fbbc05}{PRE}$
131+
- #### DES encrypt bytes with iv (CBC mode) 【NEW】}【PRE
132132

133133
```csharp
134134
var srcBytes = new byte[]{xxx};
135135
var encrypted = EncryptProvider.DESEncrypt(srcBytes, key, iv);
136136
```
137137

138-
- #### DES decrypt bytes with iv (CBC mode) $\color{#34a853}{NEW}\color{#fbbc05}{PRE}$
138+
- #### DES decrypt bytes with iv (CBC mode)【NEW】【PRE
139139

140140
```csharp
141141
var encryptedBytes = new byte[]{xxx};
@@ -155,7 +155,7 @@ dotnet add package NETCore.Encrypt --version 2.0.8
155155
}
156156
```
157157

158-
- #### Create RSA Key with RsaSize(update at version 2.0.1)
158+
- #### Create RSA Key with RsaSize
159159

160160
```csharp
161161
var rsaKey = EncryptProvider.CreateRsaKey(); //default is 2048
@@ -168,7 +168,7 @@ dotnet add package NETCore.Encrypt --version 2.0.8
168168
var modulus = rsaKey.Modulus;
169169
```
170170

171-
- #### Rsa Sign and Verify method $\color{#34a853}{NEW}$
171+
- #### Rsa Sign and Verify methodNEW
172172

173173
```csharp
174174
string rawStr = "xxx";
@@ -202,14 +202,14 @@ dotnet add package NETCore.Encrypt --version 2.0.8
202202
var decrypted = EncryptProvider.RSADecrypt(privateKey, encryptedStr, RSAEncryptionPadding.Pkcs1);
203203
```
204204

205-
- #### RSA from string (add at version 2.0.1)
205+
- #### RSA from string
206206

207207
```csharp
208208
var privateKey = rsaKey.PrivateKey;
209209
RSA rsa = EncryptProvider.RSAFromString(privateKey);
210210
```
211211

212-
- #### RSA with PEM $\color{#34a853}{NEW}$
212+
- #### RSA with PEMNEW
213213

214214
```csharp
215215

0 commit comments

Comments
 (0)