fix Base64 hashing