564
edits
(One intermediate revision by the same user not shown) | |||
Line 40: | Line 40: | ||
SHA 256 hashes are handy for storing passwords and generating checksums (among other uses) | SHA 256 hashes are handy for storing passwords and generating checksums (among other uses) | ||
Example code uses the hashing API | Example code uses the hashing API, using the constructor '''window.crypto.hash''' | ||
<pre class="brush:js;toolbar:false;"> | <pre class="brush:js;toolbar:false;"> | ||
Line 64: | Line 58: | ||
// Another idea: generating a file checksum in conjunction with the FileAPI | // Another idea: generating a file checksum in conjunction with the FileAPI | ||
</pre> | </pre> | ||
== New Ideas == | == New Ideas == |
edits