V
V
Victor Yakovlev2015-02-10 21:20:34
PHP
Victor Yakovlev, 2015-02-10 21:20:34

What algorithm or library should be used to encrypt data?

As a thesis, I am writing a small project on Windows Phone (C #) and Android (Java), using PHP as a backend. The bottom line is to encrypt the data transmitted between the server and the application, preferably using a private key. Advise which algorithm and / or library is better to use for these purposes, since I did not find anything cross-platform with intelligible documentation.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Viktor Yakovlev, 2015-02-11
@AcousticSan

Decided to use AES. Thanks to vilgeforce for the tip! I'll try RNCryptor as a library

V
Vladimir Martyanov, 2015-02-10
@vilgeforce

To protect traffic from interception, TLS / SSL was invented. And asymmetric cryptography is also there :-) If you want, you can write your own implementation.

Y
Yeldos Adetbekov, 2015-02-10
@dosya97

Why do you need to encrypt it? A well-built system should not be encrypted. Even Vkontakte sends login, PASSWORD is open. Only it generates a hashcode of the type for the identity of the login request and there on the server it creates the same code, compares them if they are equal, then logs in.

V
Vladimir Abramov, 2015-02-10
@kivsiak

If you already want to encrypt with your hands, I recommend RSA. A bunch of implementations in all languages. High speed and reliability.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question