Professional Documents
Culture Documents
Python
TABLE OF CONTENTS
About the Project 01 Major Requirements 02
The Hybrid AES-GCM and NTRU Cryptography Project was created using The hybrid encryption scheme consists of two parts:
Python in the Django framework, where the symmetric cryptography, namely 1.Symetric key encryption called DEM (Data Encapsulation Mechanism),
the AES-GCM algorithm is taken from the Pyhton Crypto library, AES 2. Public key encryption called KEM (Key Encapsulation Mechanism).
Cipher, and pyscrypt, while for asymmetric cryptography the NTRU 3. In project 2, a symmetrical algorithm is used, namely AES-GCM and the NTRU
algorithm is documented by Github MIT License Copyright (c ) 2018 Jędrzej asymmetric algorithm.
Krauze.
Project Goals 03
1. Test AES-GCM encryption and decryption time
2. Measure the NTRU encryption and decryption time
3. Combining both AES-GCM and NTRU algorithms and then measured the
encryption and decryption times
4. Check data security with tools such as Wireshark
04 Project Stages
1. Demo project 2
2 Discussion and analysis
3. Conclusion
PROJECT STAGES
STEP 2
Analysis and Discussion
STEP 1
Demo program
STEP 3
Conclusion
1. Demo Program
Schema of Hybrid AES-GCM and NTRU for Email Messages
Ciphertext 1
Message Alice Message
Bob
AES-GCM Algorithm
Private Key AES Private Key AES
NTRU Algorithm
Ciphertext 1
Public Key NTRU Private Key NTRU
Ciphertext 2 Ciphertext 2
Sender Receiver
2. Analysis and Discussion
Table Encryption of AES-GCM
No. Plaintext Key Ciphertext (hex) Algorithm
AES-GCM
(s)
1. This is message 1 123456cobao 933387e2064910f323e934b04dec335cb8 2.86
ke123#
2. This is message 2 from Gusti 123456cobaoke f6028138b903652c0da6ae186dc5a06233285249227 2.86
123#Oke f68f1bfd20e04
3. This is message 3 from Gusti, 12Oke 6017eba8c653976e0d93c3a43da1f235e33c6ce0743 3.09
Abdul and Indra 5e430f4d2b87e62e9a5dcdda5465e70f7889c0c3ed6
5540
4. This is message 4 from Gusti, 123Okeco8a d25de949e31ff35ff9063a2327a0d247023733072fa7f 3.57
Abdul and Indra to Riza also 527279906d8fda41970a7bb889d394ed4a2c5534efb
Deti 52e7ad1373b3ed6ace5ac8d12d9034b99e5cfd
5. This is message 4 from Gusti, 123Okeco8a12 1ade3ca0d501be4d7a0b11ca0866ae55e8c15dce42 2.86
Abdul and Indra to Riza also 3tes 2bfa823fe8fbe5aaa31d00c65c381662f11a780e0393
Deti. so welcome to hybrid 127af487199021a443ee6ac24a327f9447c4fac12622
aesntru 5942c4ddf0e54c0137709c255a1ac8ec0e60fcc6dcd8
646d674886fc
Avarage 15.24
Table Generate NTRU
Average 5.278
Table Decryption of NTRU
No. Ciphertext Key Plaintext Algorithm NTRU
Key AES
Real User Sys
(s) (s) (s)
Average 11.66
Table Decryption of AES-GCM
No. Ciphertext (hex) Key Plaintext Algorithm
AES-GCM
(s)
1. 933387e2064910f323e934b04dec335cb8 123456cobaoke123# This is message 1 2.38
Average 11.66
Encryption hybrid Hybrid AES-GCM and NTRU
Encrypt Encrypt Encryption
NTRU (s) AES (s) Hybrid AES-
NTRU (s) Decryption hybrid
1.03 2.86 3.89 Decrypt Decrypt Decryption
1.219 2.86 4.079 NTRU (s) AES (s) Hybrid AES-
NTRU (s)
1.022 3.09 4.112
1.237 2.38 3.617
1.002 3.57 4.572
1.4 2.14 3.54
1.005 2.86 3.865
1.252 2.62 3.872
Average 20.518
1.237 2.38 3.617
1.265 2.14 3.405
Average 18.051
3. Conclusion
References
1). Kurosawa, K ”Hybrid Encryptio”, DOI: https://doi.org/10.1007/978-1-4419-5906-5_321
2). NTRU https://github.com/jkrauze/ntru
3). AES https://pycryptodome.readthedocs.io/en/latest/src/cipher/cipher.html
4). Template PPT Web Project Proposal by Slidesgo https://slidesgo.com/theme/web-project-proposal
THANKS!
m031910058@student.utem.edu.my