diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,13 @@
 # wai-app-static changelog
 
+## 3.1.7.4
+
+* Fix a bug when the cryptonite flag is disabled. [#874](https://github.com/yesodweb/wai/pull/874)
+
+## 3.1.7.3
+
+* Introduce a flag to avoid the cryptonite dependency. [#871](https://github.com/yesodweb/wai/pull/871)
+
 ## 3.1.7.2
 
 * optparse-applicative 0.16.0.0 support
diff --git a/WaiAppStatic/Storage/Filesystem.hs b/WaiAppStatic/Storage/Filesystem.hs
--- a/WaiAppStatic/Storage/Filesystem.hs
+++ b/WaiAppStatic/Storage/Filesystem.hs
@@ -132,7 +132,8 @@
     let !hash = hashlazy f :: Digest MD5
     return $ convertToBase Base64 hash
 #else
-    return . encode . hashlazy $ f
+    let !hash = hashlazy f
+    return . encode $ hash
 #endif
 
 hashFileIfExists :: ETagLookup
diff --git a/wai-app-static.cabal b/wai-app-static.cabal
--- a/wai-app-static.cabal
+++ b/wai-app-static.cabal
@@ -1,5 +1,5 @@
 name:            wai-app-static
-version:         3.1.7.3
+version:         3.1.7.4
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
