File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ public class FileCacheHash : IFileCacheHash
24
24
private const string HASH_PREFIX = "// @hash v3-" ;
25
25
26
26
/// <summary>
27
- /// Althorithm for calculating file hashes
27
+ /// Algorithm for calculating file hashes
28
28
/// </summary>
29
- private readonly HashAlgorithm _hash = MD5 . Create ( ) ;
29
+ private readonly HashAlgorithm _hash = SHA1 . Create ( "System.Security.Cryptography.SHA1Cng" ) ;
30
30
31
31
/// <summary>
32
32
/// Calculates a hash for the specified input
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace React.Tests.Core
14
14
[ TestFixture ]
15
15
public class FileCacheHashTests
16
16
{
17
- private const string SAMPLE_HASH = "B10A8DB164E0754105B7A99BE72E3FE5 " ;
17
+ private const string SAMPLE_HASH = "0A4D55A8D778E5022FAB701977C5D840BBC486D0 " ;
18
18
19
19
[ Test ]
20
20
public void TestCalculateHash ( )
You can’t perform that action at this time.
0 commit comments