How To Encrypt And Decrypt Files Using OpenSSL On Ubuntu Linux

preview_player
Показать описание
How To Encrypt And Decrypt Files Using OpenSSL On Ubuntu Linux

OpenSSL is a program and library that supports many different cryptographic operations, including:

Symmetric key encryption
Public/private key pair generation
Public key encryption
Hash functions
Certificate creation
Digital signatures
Random number generation

The most common cryptographic operation is encryption. Lets encrypt some files using selected symmetric key (conventional) ciphers such as DES, 3DES and AES.

🌸 Support channel & make donation :

🌸 Subscribe for more videos :

🌸 Follow me On Social Media

***********************************************************************

🌸 How To Convert Public Private Putty's ppk Keys To OpenSSH Keys On Ubuntu Linux

🌸 How To Use GPG Private Public Keys To Encrypt And Encrypt Files On Ubuntu Linux

🌸 How To Encrypt And Decrypt Files Using Private Public Keys With OpenSSL On Ubuntu Linux

🌸 How To Encrypt And Decrypt Files Using OpenSSL On Ubuntu Linux

🌸 How To Use MD5SUM To Verify Data Integrity On Ubuntu Linux

🌸 How To Generate Random Password From The Command Line On Ubuntu Linux

🌸 Linux How To Crack And Recover A Password Protected Zip File

🌸 Password cracking with John the Ripper on Linux

🌸 Linux : HowTo Encrypt And Decrypt Files With A Password using GPG

🌸 How To Secure Copy Files In Linux Using SCP Command

🌸 How To Sync And Backup Files In Linux Using Rsync Command

***********************************************************************
Рекомендации по теме
Комментарии
Автор

Great video on OpenSSL! It's definitely an important and useful tool for anyone involved in security or cryptography. The explanations were clear and concise, and the demonstrations really helped to illustrate the concepts.

One of the things I appreciated most about this video was how it emphasized the importance of understanding the underlying principles behind OpenSSL, rather than just relying on it as a black box. This is crucial for anyone who wants to use OpenSSL effectively and securely.

Overall, I think this video is a fantastic resource for anyone who wants to learn more about OpenSSL, whether you're a beginner or an experienced user. Keep up the great work!











SKA

Simetrična enkripcija teksta
echo "Tajni tekst" | openssl enc -e -aes128 -k "Lozinka" -a

Simetrična dekripcija teksta
echo | openssl enc -d -aes128 -k "Lozinka" -a

Simetrična enkripcija datoteke
openssl enc -e -aes128 -k "Lozinka" -in Datoteka.jpg -out Datoteka.jpg.enc

Simetrična dekripcija datoteke
openssl enc -d -aes128 -k "Lozinka" -in Datoteka.jpg.enc -out Datoteka.jpg

Lista podržanih kriptografskih algoritama za upotrebu umjesto "-aes128"
openssl enc -ciphers

Help
openssl enc -help




AKA

Generiranje private/tajnog ključa veličine 2048 bita
openssl genrsa -out Prezime-private.rsa 2048

Generiranje public/javnog ključa iz privatnog
openssl rsa -in Prezime-private.rsa -pubout -out Prezime-public.rsa

Asimetrična enkripcija teksta
echo "Tajni tekst" | openssl rsautl -encrypt -pubin -inkey Prezime-public.rsa | base64 -w0

Asimetrična dekripcija teksta
echo | base64 -d | openssl rsautl -decrypt -inkey Prezime-private.rsa

Help
openssl genrsa -help
openssl rsa -help
openssl rsautl -help


ZokoRoić
Автор

Really good video. Straight to the point and easy to follow.

paulmesler
Автор

very talented teacher . thank you very much, you help me more.

getanehgeto
Автор

That was in-depth and to the point tutorial. Thank you.

MuhammadMuhaddis
Автор

thank you so much sir, i love your videos and i am sharing this link in my university group, but we wish to 3 - Check the operation of the openssl, perform basic commands and check the results. The basic
commands should:
§ Generate symmetric and asymmetric keys
§ Apply one to symmetric or asymmetric key to a particular file
§ Encrypt and decrypt files with the generated keys
§ Produce and verify file signature
§ Produce and check summary of a file
4 - Then perform the following steps for the two indicated OSs:
§ Create an SSL Certificate with self-signed SSL Certificate according to standard x509,
§ Fill in the fields and (if needed) use the configuration file below.
§ Display all generated files and explain their contents.
§ Do a review of the generated certificate and describe all the fields that are included in it.
§ Export the Certificate Made to PKCS # 12 format.

dheerajit
Автор

does the password/key not have to be a minimum of 128bits so a 16 character key? you have used password which is 8 characters but I thought it has to be minimum 16 characters because the minimum key has to be 128bits for aes block ciphers

Abdullah-kqcn
Автор

this is very helpful but your original file is still there, so anyone can view the sample.sql file in plaintext?

dmac
Автор

I love your videos. You make learning enjoyable : ) I even like the background music.
One quick question. I am trying this at the end of 2019. It works but this message displays afterwards. What does it mean?
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.

mystic-monk-podcast
Автор

it won't open for me says no application can open it

madelinewilliamson
Автор

hi can you please unlock a set that is locked with ID and serial number for me

kadirvascher
Автор

think I forgot which file I was encrypting

madelinewilliamson
Автор

privatni ključ
openssl genrsa -out Private.key 2048

public ključina
openssl rsa -in Private.key -pubout -out Public.key


dekriptiranje pitanja:
openssl rsautl -decrypt -inkey Private.key -in pitanje.txt -out pitanje.txt

pitanje-ajkgsdl

ključ dekriptiranje:
openssl enc -d -k 'lozinka' -in Kljuc.enc -out KljucA.key -aes-128-ecb

nano odgovor.txt

openssl rsautl -encrypt -in odgovor.txt -out odgovor.txt -pubin -inkey Public.key

uciona
join shbcf.ru