ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ • 434 B
TypeScript
import { CiphersuiteImpl } from "./crypto/ciphersuite.js";
import { PreSharedKeyID } from "./presharedkey.js";
export interface PskIndex {
findPsk(preSharedKeyId: PreSharedKeyID): Uint8Array | undefined;
}
export declare const emptyPskIndex: PskIndex;
export declare function accumulatePskSecret(groupedPsk: PreSharedKeyID[], pskSearch: PskIndex, cs: CiphersuiteImpl, zeroes: Uint8Array): Promise<[Uint8Array, PreSharedKeyID[]]>;