Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts
unfunny dfe4cc537f init
2026-09-13 00:29:11 -04:00

11 lines
607 B
TypeScript

/**
* Encode a recovery key using the Matrix {@link https://spec.matrix.org/v1.11/appendices/#cryptographic-key-representation | Cryptographic key representation}
* @param key
*/
export declare function encodeRecoveryKey(key: ArrayLike<number>): string | undefined;
/**
* Decode a recovery key encoded with the Matrix {@link https://spec.matrix.org/v1.11/appendices/#cryptographic-key-representation | Cryptographic key representation} encoding.
* @param recoveryKey
*/
export declare function decodeRecoveryKey(recoveryKey: string): Uint8Array<ArrayBuffer>;
//# sourceMappingURL=recovery-key.d.ts.map