Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 362 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 362 Bytes

sha

A javascript implementation of the Secure Hashing Algorithm, including SHA-1 and SHA-256.

sha256.raw('This is an example')
[1207653948, 3371724227, 2089209995, 3309475471, 2038869208, 479706998, 3682260804, 1082122519]
sha256.hex('This is an example')
'47fb563cc8f86dc37c86d08bc542968f7986acd81c97bf76db7ad744407fe117'