How to use the iocane.crypto.encryptWithKeyFile 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 __encryptUsingKeyFile(encryptedData) {
            return keyfile ? iocane.encryptWithKeyFile(encryptedData, keyfile) : encryptedData;
        })
        .then(signing.sign);