For the Mobile Systems Security I had to make an Mobile app which had to Demonsrate an Encryption Algorithm .So I decided to implement
- Advanced Encryption Standard (AES) which is a specification for the encryption of electronic data established by the U.S National Institute of Standards and Technology (NIST) in
- Fernet Algorithm is a symmetric encryption method which makes sure that the message encrypted cannot be manipulated/read without the key.
I will spare you the details on how to start with a blank canvas.
Visit this link if necessary
Starting a new flutter project on Android Studio
After playing along a bit you will end up with a skeleton - project. Delete everything from lib/main.dart
Copy everything in main.dart from this repository Create a new first_encryption.dart file and paste
In android studio look for terminal and type
flutter run --no-sound-null-safety
Note : This Encryption library is old so there is a problem with NUll safety SO you have to run it with this command.
IF everything goes well..you will see something like this:
Click the Decrypt Button to decrypt
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.