utils
Provides miscellaneous utility methods.
decrypt
// to encrypt plaintext into ciphertext
const encrypt = utils.encrypt('https://www.wikipedia.org');
log.info(encrypt); // will print b757ba2c2fc50fbb511d596816ca06c4fa56f4e98ce222f30bc58d5251ed635e
// to decrypt ciphertext and use it in script
const decrypt = utils.decrypt(encrypt);
log.info(decrypt); // will print ENCRYPTED
web.init();
web.open(decrypt); // will open https://www.wikipedia.org
// to get original plaintext use getDecryptResult
const value = decrypt.getDecryptResult();
log.info(value); //will print https://www.wikipedia.orgName
Type
Description
dnsResolve
Name
Type
Description
encrypt
Name
Type
Description
pause
Name
Type
Description
readCsv
Name
Type
Description
readXlsx
Name
Type
Description
transaction
Name
Type
Description
writeCsv
Name
Type
Description
xmlToJson
Name
Type
Description
Last updated
Was this helpful?