Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Testing and securing android studio applications

You're reading from  Testing and securing android studio applications

Product type Book
Published in Aug 2014
Publisher Packt
ISBN-13 9781783988808
Pages 162 pages
Edition 1st Edition
Languages

Encryption


Encryption is the process of encoding data into a form that cannot be understood by unauthorized users. Sensitive data stored in the device should be encrypted to preserve its security. You can encode data to save it as shared preferences, as files in the internal storage, in databases, or even in external storage. But you should remember that sensitive data must not be stored on external storage. There are two types of encryption methods:

  • Symmetric: In symmetric encryption, the keys for encoding and decoding are the same. Some examples of well-known symmetric algorithms are DES, Triple DES, AES, Serpent, Twofish, and Blowfish.

  • Asymmetric or public-key: In asymmetric or public-key encryption, the key for encoding is different from the key for decoding. The encryption key can be public and hence, anyone can encode data using the public key. But only the owner of the private key is able to decode it. Some examples of well-known asymmetric algorithms are RSA, Diffie-Hellman, ElGamal...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}