1
1
# NETCore.Encrypt [ 中文文档] ( http://www.cnblogs.com/piscesLoveCc/p/7423205.html )
2
2
[ ![ NuGet] ( https://img.shields.io/nuget/v/NETCore.Encrypt.svg )] ( https://nuget.org/packages/NETCore.Encrypt )
3
- [ ![ NETCore CLR ] ( https://img.shields.io/badge/.NETCore%20Clr-3.1 -brightgreen.svg )] ( https://www.microsoft.com/net/core )
3
+ [ ![ NET 6.0 ] ( https://img.shields.io/badge/.NET-6.0 -brightgreen )] ( https://www.microsoft.com/net/core )
4
4
[ ![ NetStandard 2.1] ( https://img.shields.io/badge/NetStandard-2.1-orange.svg )] ( https://www.microsoft.com/net/core )
5
5
[ ![ license] ( https://img.shields.io/github/license/myloveCc/NETCore.Encrypt.svg )] ( https://github.com/myloveCc/NETCore.Encrypt/blob/master/License )
6
6
[ ![ GitHub-Actions-Img]] [ GitHub-Actions-Url ]
@@ -16,16 +16,16 @@ To install NETCore.Encrypt, run the following command in the [Package Manager Co
16
16
17
17
## Package Manager
18
18
```
19
- Install-Package NETCore.Encrypt -Version 2.0.9.1
19
+ Install-Package NETCore.Encrypt -Version 2.1.0
20
20
```
21
21
## .NET CLI
22
22
```
23
- dotnet add package NETCore.Encrypt --version 2.0.9.1
23
+ dotnet add package NETCore.Encrypt --version 2.1.0
24
24
```
25
25
26
26
## PackageReference
27
27
```
28
- <PackageReference Include="NETCore.Encrypt" Version="2.0.9.1 " />
28
+ <PackageReference Include="NETCore.Encrypt" Version="2.1.0 " />
29
29
```
30
30
31
31
@@ -174,7 +174,7 @@ dotnet add package NETCore.Encrypt --version 2.0.9.1
174
174
var modulus = rsaKey .Modulus ;
175
175
```
176
176
177
- - #### Rsa Sign and Verify method 【 NEW 】
177
+ - #### Rsa Sign and Verify method
178
178
179
179
```csharp
180
180
string rawStr = " xxx" ;
@@ -215,7 +215,7 @@ dotnet add package NETCore.Encrypt --version 2.0.9.1
215
215
RSA rsa = EncryptProvider .RSAFromString (privateKey );
216
216
```
217
217
218
- - #### RSA with PEM 【 NEW 】
218
+ - #### RSA with PEM
219
219
220
220
```csharp
221
221
@@ -243,7 +243,7 @@ dotnet add package NETCore.Encrypt --version 2.0.9.1
243
243
var decryptedStr = EncryptProvider .RSADecryptWithPem (pemPrivateKey , enctypedStr );
244
244
245
245
```
246
- - #### RSA with PKCS #1 / PKCS #8 【 PRE 】
246
+ - #### RSA with PKCS #1 / PKCS #8
247
247
248
248
```csharp
249
249
0 commit comments