Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
File Recovery RecycleBin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
File Recovery RecycleBin
Commits
6b1a61ad
Commit
6b1a61ad
authored
Mar 13, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
a826b6a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
AESHelper.kt
...n/java/com/base/filerecoveryrecyclebin/utils/AESHelper.kt
+2
-1
No files found.
app/src/main/java/com/base/filerecoveryrecyclebin/utils/AESHelper.kt
View file @
6b1a61ad
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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment