const main = async () => {
const date1 = Date.now()
const PlainText = fs.readFileSync('./2.txt', 'utf-8')
let PassPhrase = "WSK78vzPJ4bfecJWgVmzbcyYOAdU37uxpvBG5PFRetqqITCY08vXUH5xcWCyF7giSj1An0ncY7U2xP9gHsa4DyHPYyH3SCfe3Ax8V6l2lWg9AgCjZvwL2KnccDCCFTfeRuUVj7CVxTX6RQRimgA3pnKdrXsXeWB1GWtY9DjTYzk=";
let Bits = 1024;
let MattsRSAkey = cryptico.generateRSAKey(PassPhrase, Bits);
let MattsPublicKeyString = cryptico.publicKeyString(MattsRSAkey);
let EncryptionResult = cryptico.encrypt(PlainText, MattsPublicKeyString);
const date2 = Date.now()
console.log(EncryptionResult)
console.log(date2 - date1)
}
for (object of wsData) {
for (myPhrase of myPhrasesList) {
if (myPhrase === object.description) {
this.notification(object,myPhrase).then()
}
}
}