Commit 6b1a61ad authored by wanglei's avatar wanglei

...

parent a826b6a9
package com.base.filerecoveryrecyclebin.utils package com.base.filerecoveryrecyclebin.utils
import android.util.Base64 import android.util.Base64
import com.base.filerecoveryrecyclebin.GlobalConfig
import java.security.SecureRandom import java.security.SecureRandom
import javax.crypto.Cipher import javax.crypto.Cipher
import javax.crypto.spec.GCMParameterSpec import javax.crypto.spec.GCMParameterSpec
...@@ -8,7 +9,7 @@ import javax.crypto.spec.SecretKeySpec ...@@ -8,7 +9,7 @@ import javax.crypto.spec.SecretKeySpec
object AESHelper { object AESHelper {
private const val aesKey = "muftvwnzvbxln1zk" private const val aesKey = GlobalConfig.KEY_AES
private val cipher by lazy { private val cipher by lazy {
Cipher.getInstance("AES/GCM/NoPadding") Cipher.getInstance("AES/GCM/NoPadding")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment