emn178 / online-tools

Online tools provides md2, md5, sha1, sha2, sha512, bas64, html encode / decode functions
791 stars 356 forks source link

support double-SHA256 #6

Closed ppKrauss closed 1 year ago

ppKrauss commented 4 years ago

The SHA256d is the standard hash for Bitcoin (see also its common standards) and for the Brazilian registry offices (see e.g. Uniproof).

In Javascript will be something as

hash = hashlib.sha256(hashlib.sha256(document_bin).digest()).digest()

I can help to implement if necessary... But is very simple for a tool that has already implemented SHA256.

emn178 commented 1 year ago

added this page https://emn178.github.io/online-tools/double_sha256.html