test
This commit is contained in:
parent
817e965a58
commit
44906fc243
1 changed files with 6 additions and 1 deletions
|
@ -52,10 +52,15 @@ public class Encryption {
|
|||
"SECRET_KEY" // VARIABLE
|
||||
).getBytes("UTF-8"), "AES");
|
||||
|
||||
Log.i("asd", "SECRET_KEY");// VARIABLE
|
||||
Log.i("dsa", "IV_KEY");// VARIABLE
|
||||
|
||||
Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING");
|
||||
cipher.init(mode, skeySpec, iv);
|
||||
return cipher;
|
||||
} catch (Exception ignored) {}
|
||||
} catch (Exception ignored) {
|
||||
Log.i("gfggg", Arrays.toString(ignored.getStackTrace()));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue