Fix test compilation | rust / crypto missing api

This commit is contained in:
valere 2022-12-05 13:46:35 +01:00
parent adacd55a05
commit 0953bc944d
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@
package org.matrix.android.sdk.api.session.crypto.keysbackup package org.matrix.android.sdk.api.session.crypto.keysbackup
import org.matrix.android.sdk.api.session.securestorage.SsssPassphrase
object BackupUtils { object BackupUtils {
fun recoveryKeyFromBase58(key: String): IBackupRecoveryKey? = BackupRecoveryKey.fromBase58(key) fun recoveryKeyFromBase58(key: String): IBackupRecoveryKey? = BackupRecoveryKey.fromBase58(key)
fun recoveryKeyFromPassphrase(passphrase: String): IBackupRecoveryKey? = BackupRecoveryKey.newFromPassphrase(passphrase)
} }