1. Introduction
AsymmetricCryptography is an extension which you can use to add end-to-end encryption(asymmetric encryption) in your app.It uses asymmetric encryption which ensures that your data is safe.
Latest Version: 3.1
Released: April 25, 2020
Last Updated: June 30, 2020
2. Blocks
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/9/7/9732f6396189a64428eadf7be1a2adfe1c76d8ea.png)
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/f/a/fa6247bb82fae1d92a974c0f8049f7b7774ca1a2.png)
3. Documentation
A quick and short documentation for AsymmetricCryptography :
![blocks (21)](https://community.appinventor.mit.edu/uploads/default/original/2X/e/e5328eeed5af948740d3b7956b0f16e4658e38bf.png)
Generates keys of provided length and raises event ‘KeysGenerated’ with success and response values.
Note: (i) Big key size will consume more ram.It behaves normal upto 4096.
(ii) Key length should be at least 8 times of string length.
For Example :
A key of length 1024 can encrypt a string of length 128.
![component_method](https://community.appinventor.mit.edu/uploads/default/original/2X/9/9b6a491987647af1a1be156f70e805f5b637fc9f.png)
Returns private key in string format
![component_method (1)](https://community.appinventor.mit.edu/uploads/default/original/2X/a/a1b194e7cfa9d2e7c7c32617fa3f835d6b2815ab.png)
Returns public key in string format
![blocks (22)](https://community.appinventor.mit.edu/uploads/default/original/2X/9/9e8d29ca3e1cdfda7d2fa34f4c980001063452de.png)
Tries to encrypt given string with provided public key and returns encrypted text
![blocks (23)](https://community.appinventor.mit.edu/uploads/default/original/2X/8/8c304a7babac3111e54e889af369e2cba010e2a2.png)
Tries to decrypt given string with provided private key and returns decrypted text
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/c/8/c86c14981eea53e82eb1ad0a713289d80f2fccf0.png)
Asynchronous version of Decrypt method
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/6/f/6f99af25ff66f4f212c68b36c9cd817db54acdd2.png)
Asynchronous version of Encrypt method
4. Downloads
5. Liked my work/ Support me
If you liked the extension, please consider donating some amount to keep me motivated.
Hope it helps!