Created
March 28, 2018 08:23
-
-
Save josemmo/7a762acb8687a04fab0aea5f431da00d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Convertir objeto en fingerprint | |
var fp = JSON.stringify(fp_sources); | |
var shaObj = new jsSHA('SHA-1', 'TEXT'); | |
shaObj.update(fp); | |
fp = shaObj.getHash('HEX'); | |
alert('Tu fingerprint es ' + fp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment