This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Security and the fly likes AES_DECRYPT function return null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "AES_DECRYPT function return null" Watch "AES_DECRYPT function return null" New topic
Author

AES_DECRYPT function return null

kim pham
Greenhorn

Joined: May 11, 2011
Posts: 13
Hi all

the aes_decrypt function return null.
Anything was wrong with this aea_decrypt function.
Thanks in advance,
-K
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
You seem to be missing the hex decode step on decrypt. Are you getting an exception?


Nice to meet you.
kim pham
Greenhorn

Joined: May 11, 2011
Posts: 13
Hi,
Didn't get the any exception? But it returns a null value.
Any suggestion?
KP
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
kim pham wrote:Hi,
Didn't get the any exception? But it returns a null value.
Any suggestion?
KP

I suggest you read the first 11 words of my 16 word reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AES_DECRYPT function return null
 
Similar Threads
Encrypted values all contain same final characters
error coming while decrypting...
padding problem with AES(help)
Using a one way hash for Password encryption
AES decryption problem