h2non / jshashes

Fast and dependency-free cryptographic hashing library for node.js and browsers (supports MD5, SHA1, SHA256, SHA512, RIPEMD, HMAC)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The decode function for Base64 is not working

happybridge14 opened this issue · comments

https://github.com/h2non/jshashes/blob/master/hashes.js#L331. It seems that the 'input' start to parse the char from '1', but not '0', which cause the problem.

I think it can also explain the issue#27..If base64 is no longer supported, I'll just use the native methods