Encryption

This commit is contained in:
Jens 2021-06-29 23:10:51 +02:00
parent c18a880ad7
commit 9a2a0aa6a4
2 changed files with 12 additions and 3 deletions

View File

@ -66,10 +66,11 @@ dependencies {
apkFlavorImplementation 'com.google.firebase:firebase-appindexing:19.2.0' apkFlavorImplementation 'com.google.firebase:firebase-appindexing:19.2.0'
apkFlavorImplementation 'com.google.android.gms:play-services-location:17.1.0' apkFlavorImplementation 'com.google.android.gms:play-services-location:17.1.0'
implementation 'com.linkedin.dexmaker:dexmaker:2.25.0' implementation 'com.linkedin.dexmaker:dexmaker:2.25.0'
implementation 'org.apache.commons:commons-lang3:3.0' implementation 'org.apache.commons:commons-lang3:3.0'
implementation "androidx.security:security-crypto:1.0.0"
implementation "androidx.security:security-identity-credential:1.0.0-alpha02"
implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0' implementation 'com.google.android.material:material:1.3.0'
testImplementation 'junit:junit:4.+' testImplementation 'junit:junit:4.+'

View File

@ -1212,6 +1212,14 @@ public class XmlFileInterface
{ {
newAction.setParameter2(tag); newAction.setParameter2(tag);
} }
androidx.security.crypto.MasterKey.Builder
MasterKey mainKey = new MasterKey.Builder(context)
.setKeyScheme(MasterKey.KeyScheme.AES256_GCM)
.build();
} }
} }
else if(newAction.getAction().equals(Action_Enum.startOtherActivity)) // separator has been changed, convert in old files else if(newAction.getAction().equals(Action_Enum.startOtherActivity)) // separator has been changed, convert in old files