Skip to content

Commit 87bd00e

Browse files
committed
Update recovery-key.ts doc
1 parent 6d41c43 commit 87bd00e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crypto-api/recovery-key.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const OLM_RECOVERY_KEY_PREFIX = [0x8b, 0x01];
2222
const KEY_SIZE = 32;
2323

2424
/**
25-
* Encode a recovery key using base58 encoding.
25+
* Encode a recovery key using the Matrix {@link https://spec.matrix.org/v1.11/appendices/#cryptographic-key-representation | Cryptographic key representation}
2626
* @param key
2727
*/
2828
export function encodeRecoveryKey(key: ArrayLike<number>): string | undefined {
@@ -41,7 +41,7 @@ export function encodeRecoveryKey(key: ArrayLike<number>): string | undefined {
4141
}
4242

4343
/**
44-
* Decode a recovery key from base58 encoding.
44+
* Decode a recovery key encoded with the Matrix {@link https://spec.matrix.org/v1.11/appendices/#cryptographic-key-representation | Cryptographic key representation} encoding.
4545
* @param recoveryKey
4646
*/
4747
export function decodeRecoveryKey(recoveryKey: string): Uint8Array {

0 commit comments

Comments
 (0)