Viewing Keys & Proof of Innocence
View Keys:
Tools:
import crypto from 'crypto';
function generateViewingKey(userPrivateKey, salt) {
return crypto.createHash('sha256').update(userPrivateKey + salt).digest('hex');
}
const viewingKey = generateViewingKey(myPrivateKey, randomSalt);Last updated

