Fix test compilation | rust / crypto missing api
This commit is contained in:
parent
adacd55a05
commit
0953bc944d
|
@ -16,6 +16,9 @@
|
|||
|
||||
package org.matrix.android.sdk.api.session.crypto.keysbackup
|
||||
|
||||
import org.matrix.android.sdk.api.session.securestorage.SsssPassphrase
|
||||
|
||||
object BackupUtils {
|
||||
fun recoveryKeyFromBase58(key: String): IBackupRecoveryKey? = BackupRecoveryKey.fromBase58(key)
|
||||
fun recoveryKeyFromPassphrase(passphrase: String): IBackupRecoveryKey? = BackupRecoveryKey.newFromPassphrase(passphrase)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue