forked from quic-issues/427e7578-d7bf-49c8-aee9-2dd999e25316
implemented frontend including separate message system; started to implement backend
This commit is contained in:
17
yjs-poll/node_modules/lib0/crypto/aes-gcm.d.ts
generated
vendored
Normal file
17
yjs-poll/node_modules/lib0/crypto/aes-gcm.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
export function encrypt(key: CryptoKey, data: Uint8Array<ArrayBuffer>): Promise<Uint8Array<ArrayBuffer>>;
|
||||
export function decrypt(key: CryptoKey, data: Uint8Array<ArrayBuffer>): PromiseLike<Uint8Array>;
|
||||
export function importKeyJwk(jwk: any, { usages, extractable }?: {
|
||||
usages?: Usages | undefined;
|
||||
extractable?: boolean | undefined;
|
||||
}): Promise<CryptoKey>;
|
||||
export function importKeyRaw(raw: Uint8Array<ArrayBuffer>, { usages, extractable }?: {
|
||||
usages?: Usages | undefined;
|
||||
extractable?: boolean | undefined;
|
||||
}): Promise<CryptoKey>;
|
||||
export function deriveKey(secret: Uint8Array<ArrayBuffer> | string, salt: Uint8Array<ArrayBuffer> | string, { extractable, usages }?: {
|
||||
extractable?: boolean | undefined;
|
||||
usages?: Usages | undefined;
|
||||
}): Promise<CryptoKey>;
|
||||
export type Usages = Array<"encrypt" | "decrypt">;
|
||||
export { exportKeyJwk, exportKeyRaw } from "./common.js";
|
||||
//# sourceMappingURL=aes-gcm.d.ts.map
|
||||
Reference in New Issue
Block a user