Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Good day,

How can I make a code for aes 256 encryption that is compatible for Android Java and ASP C#.Net?

What I wanted is if I encrypt a string in java, it can be decrypted in c# and vice versa.

I will be using this to secure the data that is being transferred from my android device to the web service i made in .Net.

Thanks
Posted

1 solution

Don't bother trying to write your own if you can find one that already exists and has been tested - IT WILL BE STRONGER.

Try looking at Bouncy Castle/[^]. I have not gone too deep but it appears to be compatible between the two environments.

Enjoy.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900