chore: localfied react, react-dom and crypto-es

This commit is contained in:
CrescentLeaf
2025-09-06 23:28:50 +08:00
parent 22b8269c4b
commit b6140063c7
45 changed files with 26277 additions and 36 deletions

View File

@@ -0,0 +1,30 @@
import { BlockCipherMode } from "./cipher-core.mjs";
//#region src/mode-ecb.ts
/**
* ECB Encryptor
*/
var ECBEncryptor = class extends BlockCipherMode {
processBlock(words, offset) {
this._cipher.encryptBlock(words, offset);
}
};
/**
* ECB Decryptor
*/
var ECBDecryptor = class extends BlockCipherMode {
processBlock(words, offset) {
this._cipher.decryptBlock(words, offset);
}
};
/**
* Electronic Codebook block mode.
*/
var ECB = class extends BlockCipherMode {
static Encryptor = ECBEncryptor;
static Decryptor = ECBDecryptor;
};
//#endregion
export { ECB };
//# sourceMappingURL=mode-ecb.mjs.map