|
val nd - 2016-08-14 21:41:28
Can Other languages like java, C#, C++ decrypt what PHP AES-128-CBC
encrypted ? Example I encrypt data on php and java, C#, C++ languages access the data through web service, can the java, C#, C++ decrypt the data vice versa?
Name Removed - 2016-08-15 09:34:47 - In reply to message 1 from val nd
Yes, it's possible but you need to implement the encryption/decryption function in the other language.
What I mean:
encrypt(), encrypts the data using mcrypt.Then, it shifts every alphabetical char of the encrypted data 13 places in the alphabet (non-alphabetical chars are not touched) using the str_rot13 function.Finally, it encodes the previously encoded-encrypted data using Base64 encoding.
decrypt(), decodes the Base64 encoding.Then, it shifts every alphabetical char of the decoded-encrypted data 13 places in the alphabet (again, non-alphabetical chars are not touched) using the str_rot13 function.Lastly, it decrypts the encrypted data using mcrypt.
If you use one function in PHP, you have to implement the other function in the other language.It's not only encryption/decryption.It's also a bit of encoding/decoding.
val nd - 2016-08-15 23:17:32 - In reply to message 2 from Name Removed
Ok Thanks Takis Maletsas. I will try it out with C#.... Are you on skype? want to stay in touch pls
Name Removed - 2016-08-16 09:20:45 - In reply to message 3 from val nd
Let me know if you have any more questions :)
BTW, I'm not using skype.You can reach me on facebook @Takis Maletsas
val nd - 2016-08-16 14:12:53 - In reply to message 4 from Name Removed
Thanks Takis Maletsas. Sent you a request
|