Skip to content

Commit

Permalink
removed second constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
teogor committed Oct 11, 2022
1 parent afd5178 commit fb69ad2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions memo/src/main/java/com/zeoflow/memo/ConcealEncryption.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb69ad2

Please sign in to comment.