mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-10 21:18:33 +00:00
Fix something
This commit is contained in:
parent
9e6d1e27fc
commit
6a5d97a0f0
@ -279,7 +279,7 @@ object FullBackupExporter {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
private class BackupFrameOutputStream : Closeable, Flushable {
|
private class BackupFrameOutputStream(outputStream: OutputStream, passphrase: String) : Closeable, Flushable {
|
||||||
|
|
||||||
private val outputStream: OutputStream
|
private val outputStream: OutputStream
|
||||||
private var cipher: Cipher
|
private var cipher: Cipher
|
||||||
@ -290,7 +290,7 @@ object FullBackupExporter {
|
|||||||
|
|
||||||
private var counter: Int = 0
|
private var counter: Int = 0
|
||||||
|
|
||||||
private constructor(outputStream: OutputStream, passphrase: String) : super() {
|
init {
|
||||||
try {
|
try {
|
||||||
val salt = Util.getSecretBytes(32)
|
val salt = Util.getSecretBytes(32)
|
||||||
val key = BackupUtil.computeBackupKey(passphrase, salt)
|
val key = BackupUtil.computeBackupKey(passphrase, salt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user