Skip to content

Instantly share code, notes, and snippets.

@bonustrack
Last active April 23, 2019 20:16
Show Gist options
  • Save bonustrack/ba0202345808a1d1216c1ec02668c0b1 to your computer and use it in GitHub Desktop.
Save bonustrack/ba0202345808a1d1216c1ec02668c0b1 to your computer and use it in GitHub Desktop.
Generate secret hash for SteemConnect application
const crypto = require('crypto');
const secret = 'random string';
const secretHash = crypto.createHash('sha256').update(secret).digest('hex');
console.log('Secret hash', secretHash);
@shastasublime
Copy link

where do i put this code not working for me

@shastasublime
Copy link

do i need th link script to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment