Fast and light JavaScript SHA-256 secure hash implementation [closed]
I'm looking for a hash implementation that is; secure (practically impossible to invert) fast (few ms) light (few KB) runs in the browser Ideally a SHA-256 implementation, since it is widely used and therefore widely tested against. Doing some tests suggests that forge is the fastest SHA-256 JavaScript implementation. It is 284KB big but extracting the SHA-256 related code reduces the size to 4.5 KB, see https://github.com/brillout/forge-sha256 . 来源: https://stackoverflow.com/questions/31219009/fast-and-light-javascript-sha-256-secure-hash-implementation