This commit is contained in:
Your Name 2025-04-09 01:36:41 +03:00
parent 817e965a58
commit 44906fc243

View file

@ -52,10 +52,15 @@ public class Encryption {
"SECRET_KEY" // VARIABLE "SECRET_KEY" // VARIABLE
).getBytes("UTF-8"), "AES"); ).getBytes("UTF-8"), "AES");
Log.i("asd", "SECRET_KEY");// VARIABLE
Log.i("dsa", "IV_KEY");// VARIABLE
Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING"); Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING");
cipher.init(mode, skeySpec, iv); cipher.init(mode, skeySpec, iv);
return cipher; return cipher;
} catch (Exception ignored) {} } catch (Exception ignored) {
Log.i("gfggg", Arrays.toString(ignored.getStackTrace()));
}
return null; return null;
} }