Skip to content

Instantly share code, notes, and snippets.

@egek92
Created December 8, 2017 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egek92/a245192969aaffece589bc24a29d9162 to your computer and use it in GitHub Desktop.
Save egek92/a245192969aaffece589bc24a29d9162 to your computer and use it in GitHub Desktop.
String key = "e8ffc7e56311679f12b6fc91aa77a5eb"; // 32 bytes key
byte[] keyBytes = key.getBytes("UTF-8");
ivBytes = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; //IV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment