File: ecb.js

package info (click to toggle)
node-browserify-aes 1.2.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 596 kB
  • sloc: javascript: 1,326; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
exports.encrypt = function (self, block) {
  return self._cipher.encryptBlock(block)
}

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