-

Encoding/decoding Android Key

Google Android Studio includes a tool to create a new key in the Generate Signed Bundle or APK wizard but here's how you can encode and decode your own key that is used to encrypt and decrypt your Google Android Playstore app package before deploying

Encoding

Step 1
openssl base64 < akadenia.jks | tr -d '\n' | tee akadenia.jks.base64.txt
Step 2
openssl enc -base64 -in key.jks -out signing_key.b64 | tr -d '\n' | tee akadenia.jks.base64.txt

Decoding

openssl enc -d -base64 -in signing_key.b64 -out akadenia.jks

This is not something you would run into every day but on the off chance that your team or client requires some custom certificate to encode and decode your Google Android Playstore app then you'll find these steps useful.

Guy Shahine

Written by Guy Shahine

Founder / CEO

More articles

Deploying an NFT smart contract

Launching NFTs: Your Guide to Smart Contract Deployment

Read article

GitHub actions runners in AWS EC2

Building Pipelines: Working with GitHub Actions Runners and AWS EC2 Instances

Read article