Secure API Keys with a Public-Key Cryptography on Android  - Udemy
60 ๐Ÿ‘€
Harry Potter

Harry Potter

Jan 17, 2024

Secure API Keys with a Public-Key Cryptography on Android - Udemy

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 CryptographyAndroid Keystore SystemEncrypted Shared Preferences and 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!

Who this course is for:

  • 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

What you'll 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


  • Basic knowledge about Kotlin and Jetpack Compose
  • Knowledge about Kobweb Framework is a plus

Free Download ๐Ÿ˜€

Zip/rar files password can be one of these :- FreeCourseUniverse / CheapUniverse
Harry Potter

Harry Potter

Hey Guys We are Tech Enthusiasts and we know knowledge is key to success ! We are here to open path to your success by providing what you want. Today education == business. Our moto is education should be accessible by any person who is not able to purchase overpriced content.

Leave a comment

0 Comment


Membership Plans

( New Forum )

We are bringing so many new things at the fraction of a cost....


    How to download ??


    This site is hosted on Digital Ocean

    Get $200 credit Instantly

    Offer available for limited time
    ( Take advantage of free credits ๐Ÿ‘‡ )
    DigitalOcean Referral Badge

    Related Posts


    ยฉ 2022 FreeCourseUniverse. All Rights Reserved