I wanna encrypt my password before I send it across. Is there any proper way to encrypt using AES 256 in sencha touch? If so please help me with an example
Asked
Active
Viewed 901 times
2 Answers
0
I don't think that is within the scope of Sencha Touch, since there are Javascript libraries for that. Have you tried one of them? (JSAES, Crypto-js, etc.)
0
Use SSL (or actually TLS nowadays). There is even an SSL tag on the Sencha forums. Note the many pitfalls in creating this yourself. Forgetting to establish trust for the public key, missing authentication or integrity, incorrect session key establishment...
Note that all these points above are much more important than the key size used for AES. AES is a very useful algorithm, but it is not a magic bullet.

Maarten Bodewes
- 90,524
- 13
- 150
- 263