Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(function __decryptUsingKeyFile(encryptedData) {
// optionally decrypt using a key file
return keyfile ? iocane.decryptWithKeyFile(encryptedData, keyfile) : encryptedData;
})
.then(function __decryptUsingPassword(encryptedData) {