We are creating same project in android and iphone. Now problem is that we need to send user information to aspx server using webservice in encrypted form. We both have implemented it but results are diiferent so is there a common AES encryption method which will produce same result and can be parsed at server.
Please reply as soon as possible, my work get affected because of it.
Thanks in advance
AES encryption/decryption will produce the same results on it it is provided the same parameters. Of particular interest are
in a multiple of block size)
As a start chose simple test data, get that working and move into more complex situations. Ex: initially choose an iv of all 0, CBC, data of exactly one block size with no padding. When that is working start adding in more complexity.
Security is not easy, the encryption part is the easy part.
Or use SSL.
For reference and learning basically everything one needs to know is in the Handbook of Applied Cryptography it is a free (and legal) pdf download, a hardcover version can also be purchased. Pros use this book, even my wife in her work.