This commit is contained in:
2025-05-19 20:36:21 -05:00
commit f5303487be
1865 changed files with 260387 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModeOfOperation = void 0;
const aes_js_1 = require("./aes.js");
class ModeOfOperation {
constructor(name, key, cls) {
if (cls && !(this instanceof cls)) {
throw new Error(`${name} must be instantiated with "new"`);
}
Object.defineProperties(this, {
aes: { enumerable: true, value: new aes_js_1.AES(key) },
name: { enumerable: true, value: name }
});
}
}
exports.ModeOfOperation = ModeOfOperation;
//# sourceMappingURL=mode.js.map