O'Reilly logo

Testing and Securing Android Studio Applications by Antonio Hernández Niñirola, Belén Cruz Zapata

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required