Cryptography Explained: Symmetric & Asymmetric Encryption for Beginners π
Learn the fundamentals of cryptography, including the differences between symmetric and asymmetric encryption. Perfect for CCNA Kids and CEH v12 learners!

CCNA Kids
31 views β’ Apr 14, 2024

About this video
This video explains cryptography and the two types of it based on the number of keys used for encryption and decryption.
SYMMETRIC
SENDER Create a file. Encrypt using the command - openssl aes-256-cbc -in a.txt -out encrypt.txt
RECEIVER Decrypt the file - openssl aes-256-cbc -d -in encrypt.txt -out clear.txt
ASYMMETRIC
RECEIVER Generate key pair - openssl genrsa -out key.pem ; openssl rsa -in key.pem -pubout -out pub.pem
SENDER openssl rsautl -encrypt -inkey pub.pem -pubin -in a.txt -out encrypt.txt
RECEIVER openssl rsautl -decrypt -inkey key.pem -in encrypt.txt -out clear.txt
SYMMETRIC
SENDER Create a file. Encrypt using the command - openssl aes-256-cbc -in a.txt -out encrypt.txt
RECEIVER Decrypt the file - openssl aes-256-cbc -d -in encrypt.txt -out clear.txt
ASYMMETRIC
RECEIVER Generate key pair - openssl genrsa -out key.pem ; openssl rsa -in key.pem -pubout -out pub.pem
SENDER openssl rsautl -encrypt -inkey pub.pem -pubin -in a.txt -out encrypt.txt
RECEIVER openssl rsautl -decrypt -inkey key.pem -in encrypt.txt -out clear.txt
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
31
Duration
7:24
Published
Apr 14, 2024