Skip to content

mehediasif/Flutter_project_security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Security Preview

AES and Fernet Algorithm Implementation in Dart

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.

Step 1: Create a new flutter Propject

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

Step 2: start with a blank canvas

After playing along a bit you will end up with a skeleton - project. Delete everything from lib/main.dart

Step 3: Copy everything

Copy everything in main.dart from this repository Create a new first_encryption.dart file and paste

Step 4: Turn on android Emulator from device manager in Android Studio

Step 5 : Run the code

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: image

Step 6 : Type Something and Check AES encryption

image image

Step 7 : Check AES decryption

Click the Decrypt Button to decrypt image

Step 8 : Try same with fernet Encryption

image image

Getting Started

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.

About

Password protected notes app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published