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

8 lines
175 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
exports.encrypt = function (self, block) {
return self._cipher.encryptBlock(block)
}
exports.decrypt = function (self, block) {
return self._cipher.decryptBlock(block)
}