2 Replies - 652 Views - Last Post: 28 September 2012 - 08:32 PM

#1 natecat  Icon User is offline

  • D.I.C Head

Reputation: 53
  • View blog
  • Posts: 225
  • Joined: 19-December 11

Encryption problem.

Posted 28 September 2012 - 06:40 PM

I am currently making a program to encrypt and decrypt another program. The problem I'm running into is that I am unable to run the decrypted program. It decompiles to the same code. My guess would be the extra bytes it needs to add to make it cryptable. I am using AES with a 128-bit key. If you know a solution to this problem, please reply.
Is This A Good Question/Topic? 0
  • +

Replies To: Encryption problem.

#2 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3116
  • View blog
  • Posts: 19,153
  • Joined: 14-September 07

Re: Encryption problem.

Posted 28 September 2012 - 08:02 PM

You're going to need to be more specific.
Was This Post Helpful? 0
  • +
  • -

#3 natecat  Icon User is offline

  • D.I.C Head

Reputation: 53
  • View blog
  • Posts: 225
  • Joined: 19-December 11

Re: Encryption problem.

Posted 28 September 2012 - 08:32 PM

Well basiclly what is happening is I am encrypting a .jar file, and when it is decrypted, it has slightly more bytes because in order to be encrypted/decrypted, the amount of bytes has to be divisible by 16. Is there any known way to get rid of this "padding"?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1