From the course: Writing Secure Code for Android by Infosec
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Activity: Encrypting data, part 1
From the course: Writing Secure Code for Android by Infosec
Activity: Encrypting data, part 1
- [Instructor] Android encryption overview. Activity. Encrypting data. In Android Studio, open an existing project and go to your activities. Go to Course 4 and choose the KeyEncryption app. And open it. This app actually has a lot of moving parts, so we're going to do things a little bit out of the normal sequence. I want to focus on the main activity first and run the app and then later we'll talk about the other UI components and the database. I mean, we cover database in a whole different area here, so I don't want to get too deep into that. But let's focus on just the encryption part first. Open MainActivity and expand Import. And you'll notice that we are using a variety of things. We're going to use database, we're going to use the javax.crypto libraries. We're going to use Base64 and a Toast, and I'll explain why we have all of these in just a bit. Collapse import. Let's start with just starting our main activity. This project, we're going to use something called the Data…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Android storage overview9m 25s
-
(Locked)
Protecting secrets13m 5s
-
(Locked)
Activity: Insecurely saving a username and password10m 5s
-
(Locked)
Encryption overview11m 48s
-
(Locked)
Understanding PKI10m 17s
-
(Locked)
Android encryption overview13m 55s
-
(Locked)
Activity: Encrypting data, part 113m 31s
-
(Locked)
Activity: Encrypting data, part 211m 21s
-
(Locked)
Activity: Encrypting data, part 312m 53s
-
(Locked)
Hashing8m 8s
-
(Locked)
Activity: Hashing a password9m 26s
-
(Locked)
Activity: Generating random values3m 52s
-
(Locked)
Activity: Salting a hashed password5m 51s
-
(Locked)
Android Keystore5m 46s
-
(Locked)
Activity: Securely storing secrets in Android Keystore12m 15s
-
(Locked)
-
-
-
-