Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts

11 lines
607 B
TypeScript
Raw Normal View History

2026-09-12 23:57:45 -04:00
/**
* 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