Created
November 13, 2018 15:09
-
-
Save zgorizzo69/d127e07c10c8bfe43bcb62bbac2cb5d6 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
var CryptoJS = require("crypto-js"); | |
const zonefile = '$ORIGIN jude.id\n$TTL 3600\n_https._tcp URI 10 1 \"https://raw.githubusercontent.com/jcnelson/profile/master/jude.id\"\n_https._tcp URI 10 1 \"https://www.cs.princeton.edu/~jcnelson/jude.id\"\n'; | |
const zonefilehash = cryptoJS.RIPEMD160(cryptoJS.SHA256(this.zonefile)); | |
console.log(zonefilehash); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment