Cryptography | Asymmetric and Symmetric Encryption | CCNA Kids | CEH v12

Опубликовано: 27 Март 2026
на канале: CCNA Kids
35
0

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