katoikia-app/web-ui/web-react/node_modules/browserify-aes/modes/ecb.js

8 lines
175 B
JavaScript

exports.encrypt = function (self, block) {
return self._cipher.encryptBlock(block)
}
exports.decrypt = function (self, block) {
return self._cipher.decryptBlock(block)
}