Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

v0.7 - Who doesn't like Stats? (#1799)

Joe Milazzo037432327063
diff --git a/Kavita.Common/HashUtil.cs b/Kavita.Common/HashUtil.cs
index 8b808b9c1..eccfc87e1 100644
--- a/Kavita.Common/HashUtil.cs
+++ b/Kavita.Common/HashUtil.cs
@@ -7,9 +7,9 @@ public static class HashUtil
{
private static string CalculateCrc(string input)
{
- uint mCrc = 0xffffffff;
- byte[] bytes = Encoding.UTF8.GetBytes(input);
- foreach (byte myByte in bytes)
+ var mCrc = 0xffffffff;
+ var bytes = Encoding.UTF8.GetBytes(input);
+ foreach (var myByte in bytes)
{
mCrc ^= (uint)myByte << 24;
for (var i = 0; i < 8; i++)