mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 09:25:49 +03:00
Fix test compilation | rust / crypto missing api
This commit is contained in:
parent
adacd55a05
commit
0953bc944d
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue