Asymmetric Encryption With OpenSSL (Private Key & Public Key)

preview_player
Показать описание
In this video we learn about asymmetric encryption in the command line using OpenSSL with private and public keys.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

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

Dude. Awesome explanation. I have a test tomorrow on this and you just saved me so much time. YOU ROCK!

tylerdelgado
Автор

Florian, thank you so much for your great content/work, I really appreciate how you present information

inarisound
Автор

Why would we go with DES-3? Isn' that out dated?

angeloreyes
Автор

10:17 could use ceasar with key xD and postcard

JarppaGuru
Автор

3:40 thats new file they not match. you can remove password and make other copy. so both with password and not password can decrypth same file
and you not need give passphrase for first option too .
before it was rsa now its genrsa. so what next command that do same thing and allways ssh-keygen do same things after pull hait off. it do if make so LOLsure it use same programs do it

JarppaGuru
Автор

and will decrypthing work after 5-10 years when they constatly update and couple year old command say deprecated. meaning it will moved lated should use new methods. could be freaky all crypted files. sry im linux you cant decrypth with this key LOL

JarppaGuru
Автор

I think your account got hacked. There are some unusual answers to comments

thepaulcraft
Автор

9:55 its public key there is non lol, but will another linux handle it it allways hair pulling. there is no backward compatibility and we just trust fine we encrypt LOLbut its fine woprks on single use messages. would not trurst my file on linux. boot. what its linux should not do this. windows not do it LOL

JarppaGuru
Автор

11:19 its rsa you show public key and n is public and we can generate private key after fin p and q LOL. n is embed on public key now lets crack rsa LOL
your rsa implemation suck that bad why n is public lol

JarppaGuru
Автор

very useful if commands you using not recognice public key
openssl rsa -pubin -in public.key -out public2.key -RSAPublicKey_out
openssl rsa -pubin -in public.key -out public2.key -RSAPublicKey_in
now have both
RSA PUBLIC
PUBLIC

JarppaGuru
Автор

privatni ključ
openssl genrsa -out Private-perak.key 2048

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


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

pitanje-ajkgsdl

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

nano odgovor.txt

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

jsprrkw