RunKit + npm: node-fpe

node v11.15.0
endpointsharetweet
var fpe = require("node-fpe") const cipher = fpe({password: 'secret'}) const results = [] for (let i = 0; i < 100; i++) { results.push(cipher.encrypt(i.toString().padStart(2, 0))) } console.log(results)
Created from: https://npm.runkit.com/node-fpe
Loading…