ipfs storage for images and other nontext items. for use with etica - runs on etica network and currencys https://collect.etica-stats.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
590 B

"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