How to use the iocane.crypto.decryptWithKeyFile function in iocane

To help you get started, we’ve selected a few iocane examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github buttercup / buttercup-core / source / node / system / TextDatasource.js View on Github external
.then(function __decryptUsingKeyFile(encryptedData) {
            // optionally decrypt using a key file
            return keyfile ? iocane.decryptWithKeyFile(encryptedData, keyfile) : encryptedData;
        .then(function __decryptUsingPassword(encryptedData) {