Open Source Encryption Key Generator For Android
Pretty Good Privacy (PGP) is a data encryption and decryption computer program that provides cryptographic privacy and authentication for data communication. PGP is often used for signing, encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications. It was created by Phil Zimmermann in 1991. PGP and similar software follow the OpenPGP standard (RFC 4880) for encrypting and decrypting data. Source: Wikipedia
This site only provides a simple, safer and easy-to-use tool for people who want to generate a pair of PGP keys or more. Today, some common methods for generating keys still involve going to a command prompt of a Linux/Unix machine and using the GPG utility, or installing a PGP compatible application on your desktop, so I wanted to provide an easier way to generate keys. None of this would be possible without the awesome open source software that I'm using which is KeyBase's awesome JavaScript implementation of PGP (kbpgp). While for file saving capabilities, I am using Eli Grey's wonderful FileSaver.js interface.
This site is open source and the source code are available on GitHub under MIT License. If you have any inquiry or problem, you may create an issue here.
Encryption is a simple way to encrypt and decrypt strings on Android and Java project. /photoshop-cs5-product-key-generator.html.
GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP).GnuPG allows you to encrypt and sign your data and communications; it features a versatile key management system, along with access modules for all kinds of public key directories. Encryption ensures that even if an unauthorized party tries to access the data, they won’t be able to read it. Android has two methods for device encryption: file-based encryption and full-disk encryption. File-based encryption. Android 7.0 and later supports file-based encryption. File-based encryption allows different files to be encrypted with different keys that can be unlocked independently. AlternativeTo is a free service that helps you find better alternatives to the products you love and hate. The site is made by Ola and Markus in Sweden, with a lot of help from our friends and colleagues in Italy, Finland, USA, Colombia, Philippines, France and contributors from all over the world. That's right, all the lists of alternatives are crowd-sourced, and that's what makes the data.
How to use
1º Add JitPack to your build file
2º Add the gradle dependency
3º Get an Encryption instance
4º Encrypt your text
5º Decrypt your text
Custom usage
You can use you own builder
See more on Examples folder, there is an Android, a Java and a Kotlin project.
Open Source Encryption Key Generator For Android Phones
FAQ
- What is Encryption library?
- Encryption library is an Open Source library to help encryption routines in Android and Java applications, our target is to be simple and secure.
- What is the 'IV', what should be my
yourByteIvArray
- Encryption 1.2+ uses by default the AES algorithm in CBC mode, so to encrypt and decrypt works you should have the same key and the same IV byte array to encrypt and to decrypt. An example of IV is
byte[] iv = {-89, -19, 17, -83, 86, 106, -31, 30, -5, -111, 61, -75, -84, 95, 120, -53};
like you can see, 16 bytes in a byte array. So if you want to use this library I recommend you create you own IV and save it💾 .
- Encryption 1.2+ uses by default the AES algorithm in CBC mode, so to encrypt and decrypt works you should have the same key and the same IV byte array to encrypt and to decrypt. An example of IV is
- I Don't like null returns when errors occurs, what to do to handle errors?
- You have the power to handle the exceptions, instead of uses
encryptOrNull
method just uses theencrypt
method. The same for thedecryptOrNull
, just uses thedecrypt
method.
- You have the power to handle the exceptions, instead of uses
- I'm getting problems with main thread, what to do?
- Encrypt routines can take time, so you can uses the
encryptAsync
with aEncryption.Callback
to avoid ANR'S. The same fordecryptAsync
- Encrypt routines can take time, so you can uses the
- I'm an older user, version 1.4 or less, what to do to update Encrypt to version 2.+?
- The library has changed the default iteration count from 65536 to 1, it improve the performance, if you have a code using the old version or if you prefer to use a big iteration count you just need to use a custom builder instead of get the default builder and set the iteration count you want
- As far as the library uses 1 as default iteration count we do not need anymore the getLowIteration and it was removed from project, if you use it you can just change to getDefault
- MIT is the project license so feel free to use it
🎉
- I'm a very older user, version 1.1 or less, what to do to update Encrypt to version 1.2+?
- The library has several changes in his structure in version 1.2, both in algorithm and in code usage, so if you are an older user you need migrate the encrypted stuff or configure the
Builder
manually to the same parameters used in version 1.1 and olds.
- The library has several changes in his structure in version 1.2, both in algorithm and in code usage, so if you are an older user you need migrate the encrypted stuff or configure the
Want to contribute?
Fell free to contribute, We really like pull requests
Open Source Disk Encryption
Third part
File Encryption Open Source
- Copyright (C) 2010 The Android Open Source Project, applied to:
- Base64 (third.part.android.util.Base64) original comes from here