HOME > Development > Secure API Keys with a Public-Key Cryptography on Android

Secure API Keys with a Public-Key Cryptography on Android

  • Development
  • Apr 18, 2025
SynopsisSecure API Keys with a Public-Key Cryptography on Android, av...
Secure API Keys with a Public-Key Cryptography on Android  No.1

Secure API Keys with a Public-Key Cryptography on Android, available at $19.99, has an average rating of 4.7, with 21 lectures, based on 12 reviews, and has 111 subscribers.

You will learn about Public-Key Cryptography Generate Private/Public Key Pair Encrypt/Decrypt the Data Establish a Secure Communication Secure Exchange of API Keys between Android app and a Server Android Keystore System Learn more about Security Concepts in Android Encrypted Shared Preferences Learn how to Secure your Android app This course is ideal for individuals who are Android developers or Security Engineers or People who want to secure their Apps before publishing them on Play Store or Anyone who wants to improve the overall Security of their Apps It is particularly useful for Android developers or Security Engineers or People who want to secure their Apps before publishing them on Play Store or Anyone who wants to improve the overall Security of their Apps.

Enroll now: Secure API Keys with a Public-Key Cryptography on Android

Summary

Title: Secure API Keys with a Public-Key Cryptography on Android

Price: $19.99

Average Rating: 4.7

Number of Lectures: 21

Number of Published Lectures: 21

Number of Curriculum Items: 21

Number of Published Curriculum Objects: 21

Original Price: $89.99

Quality Status: approved

Status: Live

What You Will Learn

  • Public-Key Cryptography
  • Generate Private/Public Key Pair
  • Encrypt/Decrypt the Data
  • Establish a Secure Communication
  • Secure Exchange of API Keys between Android app and a Server
  • Android Keystore System
  • Learn more about Security Concepts in Android
  • Encrypted Shared Preferences
  • Learn how to Secure your Android app
  • Who Should Attend

  • Android developers
  • Security Engineers
  • People who want to secure their Apps before publishing them on Play Store
  • Anyone who wants to improve the overall Security of their Apps
  • Target Audiences

  • Android developers
  • Security Engineers
  • People who want to secure their Apps before publishing them on Play Store
  • Anyone who wants to improve the overall Security of their Apps
  • In this short-length course I will teach you how to securely store API keys in your Android App, without exposing them to the public. With the help of a Public Key Cryptography, Android Keystore System, Encrypted Shared Preferencesand our own Backend server, you will achieve exactly that.

    Public key cryptography, also known as asymmetric cryptography, is a cryptographic approach that uses key pair: public key and private key. Each key pair consists of a public key and a private key that are mathematically related but cannot be derived one from another.

    This approach will help us to securely exchange the data between a client and a server. API Keys will be initially stored securely on our backend Server. The server and the client will exchange the public key, to encrypt the data, before sending it back to the client.

    That way we can make sure that no one can read the actual data which is exchanged. Only our Android application will hold the private key to decrypt the data, and securely  store the API keys on a device.

    Android Keystore system is a part of the Android operating system that provides a secure storage facility for cryptographic keys, certificates, and related information. It is designed to protect sensitive data, such as private keys used for encryption and authentication, from unauthorized access.

    I will provide you with some more detailed information about the Keystore System itself and how does it work. We will utilize that system to securely store the Public Key Pair that is going to be generated for us.

    So what are you waiting for, let’s get started!

    Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Introduction

    Chapter 2: The Basics of Cryptography

    Lecture 1: The History of Cryptography

    Lecture 2: The Principles of Cryptography

    Lecture 3: Symmetric Key Cryptography

    Lecture 4: Asymmetric Key Cryptography

    Lecture 5: Hash functions

    Chapter 3: Client Application – Android

    Lecture 1: Source Code – Android App

    Lecture 2: Setup the Project

    Lecture 3: Androids Keystore System

    Lecture 4: Create KeyPairHandler

    Lecture 5: Implement KeyProviderService

    Lecture 6: Implement EncryptedPreferences

    Lecture 7: Create the MainScreen UI

    Lecture 8: Fetch Api Keys and Store them Securely

    Chapter 4: Server Application – Kobweb/Ktor

    Lecture 1: Source Code – Kobweb Server

    Lecture 2: About Kobweb Framework

    Lecture 3: Create DataEncryption object

    Lecture 4: Create Key Provider Endpoint

    Lecture 5: Lets Test it out!

    Chapter 5: Server Deployment

    Lecture 1: Lets Deploy our Server!

    Chapter 6: Security Best Practices

    Lecture 1: More Security Advices

    Instructors

  • Secure API Keys with a Public-Key Cryptography on Android  No.2
    Stefan Jovanovic
    Kotlin Multiplatform Developer
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 0 votes
  • 3 stars: 0 votes
  • 4 stars: 5 votes
  • 5 stars: 7 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!