Skip to content

Instantly share code, notes, and snippets.

View chitoadinugraha's full-sized avatar
🌎
On vacation

Chito Adinugraha chitoadinugraha

🌎
On vacation
  • Malang, East Java, Indonesia
View GitHub Profile
<html>
<!-- You may need to download them from https://github.com/brix/crypto-js/tree/release-3.1.2/build -->
<script src="rollups/sha1.js"></script>
<script src='components/lib-typedarrays-min.js'></script>
<body>
<script>
function sha1sum() {
var oFile = document.getElementById('uploadFile').files[0];
var sha1 = CryptoJS.algo.SHA1.create();
var read = 0;