From fb69ad20b3005b71f8b0bf062e9416395266032e Mon Sep 17 00:00:00 2001 From: Teodor G Date: Tue, 11 Oct 2022 13:28:13 +0300 Subject: [PATCH] removed second constructor --- memo/src/main/java/com/zeoflow/memo/ConcealEncryption.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/memo/src/main/java/com/zeoflow/memo/ConcealEncryption.kt b/memo/src/main/java/com/zeoflow/memo/ConcealEncryption.kt index 8983c07..6ed14cb 100644 --- a/memo/src/main/java/com/zeoflow/memo/ConcealEncryption.kt +++ b/memo/src/main/java/com/zeoflow/memo/ConcealEncryption.kt @@ -9,13 +9,11 @@ import java.util.* import javax.crypto.* import javax.crypto.spec.SecretKeySpec -open class ConcealEncryption protected constructor( +open class ConcealEncryption constructor( private val encryptionKey: String, - init: Boolean ) : Encryption { - private val secretKey: SecretKey? - constructor(encryptionKey: String) : this(encryptionKey, true) + private val secretKey: SecretKey? init { val keyLength = 128