Skip to content

Commit dc4f5f4

Browse files
committed
Merge branch 'dev'
2 parents ff975a5 + a055396 commit dc4f5f4

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

NETCore.Encrypt.sln

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26430.13
4+
VisualStudioVersion = 15.0.26730.3
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{2520DA96-86CD-4BD6-8807-95F27381BE1C}"
77
EndProject
@@ -11,9 +11,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{858007F7-5
1111
EndProject
1212
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NETCore.Encrypt", "src\NETCore.Encrypt\NETCore.Encrypt.csproj", "{E761502C-AF51-4AA9-9776-0E3B157F3385}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NETCore.Encrypt.Demo", "example\NETCore.Encrypt.Demo\NETCore.Encrypt.Demo.csproj", "{C98B3A1A-B063-4A53-A8EB-1D8F2C448218}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NETCore.Encrypt.Demo", "example\NETCore.Encrypt.Demo\NETCore.Encrypt.Demo.csproj", "{C98B3A1A-B063-4A53-A8EB-1D8F2C448218}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NETCore.Encrypt.Tests", "test\NETCore.Encrypt.Tests\NETCore.Encrypt.Tests.csproj", "{84CC81FB-9F15-49C2-B480-B6806033F7A6}"
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NETCore.Encrypt.Tests", "test\NETCore.Encrypt.Tests\NETCore.Encrypt.Tests.csproj", "{84CC81FB-9F15-49C2-B480-B6806033F7A6}"
1717
EndProject
1818
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B8A77A06-282D-4D55-B024-8FBC868306E6}"
1919
ProjectSection(SolutionItems) = preProject
@@ -47,4 +47,7 @@ Global
4747
{C98B3A1A-B063-4A53-A8EB-1D8F2C448218} = {CF0D22DD-69A9-424C-963F-D23DCE937138}
4848
{84CC81FB-9F15-49C2-B480-B6806033F7A6} = {858007F7-5623-4CF8-8621-26CC95F4B41E}
4949
EndGlobalSection
50+
GlobalSection(ExtensibilityGlobals) = postSolution
51+
SolutionGuid = {20C14320-327E-4793-9081-BED6566B2709}
52+
EndGlobalSection
5053
EndGlobal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NETCore encrypt and decrpty tool,Include AES,RSA,MD5,SAH1,SAH256,SHA
33

44
To install NETCore.Encrypt, run the following command in the [Package Manager Console](https://docs.microsoft.com/zh-cn/nuget/tools/package-manager-console)
55
```
6-
Install-Package NETCore.Encrypt
6+
Install-Package NETCore.Encrypt -Version 2.0.0
77
```
88

99
***

src/NETCore.Encrypt/EncryptProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ private static string CreateMachineKey(int length)
620620

621621
#region Base64
622622

623+
623624
#region Base64加密解密
624625
/// <summary>
625626
/// Base64 encrypt

test/NETCore.Encrypt.Tests/SHA_Tests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public void SHA1_Success_Test()
2525
public void SHA1_Fail_Test()
2626
{
2727
var srcString = string.Empty;
28+
2829

2930
//Assert
3031
Assert.Throws<ArgumentException>(() => EncryptProvider.Sha1(srcString));

0 commit comments

Comments
 (0)