Fixed KrakenDigest
credits to @mmazi