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
2424 private const string HASH_PREFIX = "// @hash v3-" ;
2525
2626 /// <summary>
27- /// Althorithm for calculating file hashes
27+ /// Algorithm for calculating file hashes
2828 /// </summary>
29- private readonly HashAlgorithm _hash = MD5 . Create ( ) ;
29+ private readonly HashAlgorithm _hash = SHA1 . Create ( "System.Security.Cryptography.SHA1Cng" ) ;
3030
3131 /// <summary>
3232 /// 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
1414 [ TestFixture ]
1515 public class FileCacheHashTests
1616 {
17- private const string SAMPLE_HASH = "B10A8DB164E0754105B7A99BE72E3FE5 " ;
17+ private const string SAMPLE_HASH = "0A4D55A8D778E5022FAB701977C5D840BBC486D0 " ;
1818
1919 [ Test ]
2020 public void TestCalculateHash ( )
You can’t perform that action at this time.
0 commit comments