修改后台权限
This commit is contained in:
9
node_modules/@ecies/ciphers/dist/_node/compat.d.ts
generated
vendored
Normal file
9
node_modules/@ecies/ciphers/dist/_node/compat.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { type Cipher } from "@noble/ciphers/utils";
|
||||
/**
|
||||
* make `node:crypto`'s ciphers compatible with `@noble/ciphers`.
|
||||
*
|
||||
* `Cipher`'s interface is the same for both `aes-256-gcm` and `chacha20-poly1305`,
|
||||
* albeit the latter is one of `CipherCCMTypes`.
|
||||
* Interestingly, whether to set `plaintextLength` or not, or which value to set, has no actual effect.
|
||||
*/
|
||||
export declare const _compat: (algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305", key: Uint8Array, nonce: Uint8Array, AAD?: Uint8Array) => Cipher;
|
||||
Reference in New Issue
Block a user