* createCipher (currently same as createDecipher function above. this * wrapper is included to preserve flexibility) * @param {number} cryptoScheme - cryptoScheme being used * @param {buffer} dataKey - the unencrypted key (either from the * appliance on a get or originally gener
(cryptoScheme, dataKey, offset, log, cb)
| 157 | * @callback called with (err, cipher: ReadWritable.stream) |
| 158 | */ |
| 159 | static createCipher(cryptoScheme, dataKey, offset, log, cb) { |
| 160 | /* aes-256-ctr decipher is both ways */ |
| 161 | this.createDecipher(cryptoScheme, dataKey, offset, log, cb); |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | module.exports = Common; |
no test coverage detected