Files
dc/client/src/browserify-cipher.d.ts
T
4gl 2a771bb91a
Build / Build-and-ng-test (pull_request) Failing after 48s
Build / Build-and-test-development (pull_request) Skipped
Lighthouse Checks / lighthouse (pull_request) Failing after 1m9s
fix: removing low severity warning in npm audit
2026-07-24 13:12:58 +01:00

24 lines
537 B
TypeScript

/**
* Type declarations for the untyped `browserify-cipher` package.
* Only the cipher functions used by `src/crypto-shim.ts` are declared.
*/
declare module 'browserify-cipher' {
export interface Cipheriv {
update(data: unknown): unknown
final(): unknown
setAutoPadding(autoPadding?: boolean): void
}
export function createCipheriv(
algorithm: string,
key: unknown,
iv: unknown
): Cipheriv
export function createDecipheriv(
algorithm: string,
key: unknown,
iv: unknown
): Cipheriv
}