Course

Encryption in Android

You know about the most pressing security risks your app faces and how to address those risks. You can now learn how to use the one control that protects data better than any other: encryption.

Course description

When considering a multilayer strategy for protecting user data, you should always start with the data itself. Encryption protects data whether it is at rest, in transit or in use. In this course, you will learn about the Android file system, how and where data can be saved and how to protect that data wherever it is found. You will examine a common mistake developers make when handling user credentials and other secrets. You will learn how to encrypt and validate user credentials in your app, ensuring that at an app level they are difficult to compromise. You will then learn how to leverage Android Keystore to safely store and retrieve credentials.

Syllabus

Android storage overview

Video — 00:09:25

In this lesson, we examine Android storage, the Android directory structure and where user data is saved.

Understanding PKI

Video — 00:10:17

In this lesson, we learn about the public-key infrastructure and how to obtain a certificate to sign and publish your app on Google Play.

Encryption overview

Video — 00:11:48

In this lesson, we learn about basic encryption concepts.

Protecting secrets

Video — 00:13:05

In this lesson, we learn what secrets are and different ways to save and retrieve them.

Activity: Insecurely saving a username and password

Video — 00:10:05

In this activity, we save a username and password in an easy but insecure way.

Android encryption overview

Video — 00:13:55

In this lesson, we learn how to perform symmetric and asymmetric encryption in Kotlin.

Activity: Encrypting data

Video — 00:13:31

In this activity, we implement symmetric encryption in an app.

Activity: Encrypting data, Part 2

Video — 00:11:21

We continue with our implementation of symmetric encryption.

Activity: Encrypting data, Part 3 – Examining the UI and database classes

Video — 00:12:53

We conclude our implementation of symmetric encryption by examining peripheral classes that helped make our encryption app possible.

Hashing

Video — 00:08:08

In this lesson, we learn about hashing and random number generators.

Activity: Salting a hashed password

Video — 00:05:51

In this activity, we use a salt to further protect our hashed password in our app.

Activity: Hashing a password

Video — 00:09:26

In this activity, we practice hashing a password in our app.

Activity: Generating random values

Video — 00:03:52

In this activity, we practice generating random values for hashing.

Android Keystore

Video — 00:05:46

In this lesson, we learn about Android Keystore.

Activity: Storing secrets in Android Keystore

Video — 00:12:15

In this activity, we implement Android Keystore.

Meet the author

Chrys Thorsen is a technology and education consultant with 25 years of experience. Her work has taken her around the U.S. and overseas, including as a contractor for the CDC using technology to help fight HIV/AIDS in Africa.

During her career, she has acquired 40 IT certifications, authored over 25 textbooks on a wide range of IT subjects, including secure iOS and Android coding, and created an equal number of IT-related video courses. When not working, Chrys enjoys reading scientific articles and experimenting with Internet-of-Things devices. She currently lives in Virginia with her sister, her cat and her dog which, as she describes it, “have the worst sibling rivalry imaginable.”

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Associated NICE Work Roles

All Infosec training maps directly to the NICE Workforce Framework for Cybersecurity to guide you from beginner to expert across 52 Work Roles.

  • All-Source Analyst
  • Mission Assessment Specialist
  • Target Developer

You're in good company

CY

We use Infosec Skills to provide continuous training to our technicians and to prepare them for various certifications. Infosec Skills allows us to create personalized training programs that focus on each of our technicians’ particular roles and see their progress as they take courses. We also, recommend it to clients to make their IT support teams better.

Caleb Yankus

DS

This has been utilized to bridge the skills gap across our cyber team and to aid them as they prepare for their various certifications. It also has provided a nice learning foundation for our various cyber team members to utilize as we continue to find ways for cross-utilization with operations while minimizing the downtime needed to ensure everyone’s knowledge is the same.

Daniel Simpson

IS

We use Infosec Skills to provide base level knowledge for employees. We also use the services to provide in depth learning for employees as they encounter new technologies. If an employee is is assigned to a new project, we can rely on Infosec Skills to provide a rapid concentrated learning environment. This rapid concentrated learning positions our employees for success.

Infosec Skills Teams client

Plans & pricing

  • Infosec Skills Personal

    $299 / year

    • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Custom certification practice exams (e.g., CISSP, Security+)
    • Skill assessments
    • Infosec peer community support
  • Infosec Skills Teams

    $799 per license / year

    • Team administration and reporting
    • Dedicated client success manager
    • Single sign-on (SSO)
      Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
    • Integrations via API
      Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
    • 190+ role-guided learning paths and assessments (e.g., Incident Response)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Create and assign custom learning paths
    • Custom certification practice exams (e.g., CISSP, CISA)
    • Optional upgrade: Guarantee team certification with live boot camps

Award-winning training that you can trust

Comprehensive Cybersecurity Training - Infosec Skills
Cybersecurity Education and Training Gold Award - Infosec IQ
Top Rated Award - Infosec Skills
Technical Skills Development - Small Business, Mid-Market
Top 20 Online Learning Library