WOW ! Thanks ! Best tutorial ever ! I modified the script for make a Input for choose the file (path) you want to crypt . Really nice , its work with all documents (even the .png) ! Thanks so much ! 😄😊😉🙂
Nicely presented, just how I like it - organized, simple, straight-forward and, most importantly, no fluff, diversions, asides or unnecessary chatter. A really nice job. Thank you.
@@MishaSv Bro , I created Encryption and Decryption app by your idea, in this app I provide some functionality like you can encrypt and decrypt text not only just text you can encrypt and decrypt the file and message which appear your files has been saved, After creating that app I got 2nd position in my class on Science Exhibition Day, and I am really gladd thankyou so much , this tutorial really help me
Thank you for this fantastic video on encryption and decryption! Your explanations were clear and insightful, making a complex topic easy to understand. I truly admire your ability to break down such intricate concepts so effectively. Keep up the great work!
Great video, it's very insightful and I learned alot... I'm going to build a password manager and I needed some form of basic encryption. You helped me out today thank you ...
I have similar code to encrypt multiple files, but it is really way too slow if the files are about 50+ files and have videos in it, I dont know what to do to speed it up
Hello, What do we do with the encryption key ? If for example I need to build a Production level app. How do I handle the encryption key ? Its bad practice to store it with the program. It is bad practice to hardcode the key into the code. What is the best approach ?
How secure is this method, Im considering learning code again and thing I'd go back to making lil apps and found this subject to be interesting , do you think this would make a safe and secure enough encryption for an application?
You should try reinstalling the library and check again. What IDE are you using? I recommend to run it in VS Code, because if you need any additional plugins, it will let you download them right away, and you should see the key inside the .key file.
There is a different way you should construct the keys for asymmetric encryption, because now you would need pairs to be created. Here is a good example how to do it: nitratine.net/blog/post/asymmetric-encryption-and-decryption-in-python/
The only problem with encryption I tried it i encrypted a python script and tried running it it won't run it shows the encryption in cmd and invalid syntax
hi misha , the video was amazing , but to be honest I'm stuck at VS "cryptography.fernet " isn't working could you help me what I need to add to VS , its my first year as software eng student and that's 1 of my projects in python , could you help me please?
This probably has to do with your Python interpreter in VS Code. What you want to do is open VS Code and press Ctrl+Shift+P and type "Python interpreter" you should see an option: "Python: Select Interpreter", click on it and you will see many Python interpreters available, try selecting one and see whether the underline will disappear in the code and you can run it. If it doesn't work, try a different Python interpreter. Here is the link explaining Python environments in VS Code: code.visualstudio.com/docs/python/environments
@@MishaSv I tried everything in the video but still the same problem, tbh I feel really bad and don't know how to do it, do you have discord by any chance you could teach me how to fix this problem?
hi Misha. Thank you for the tutorial. Is there any way that I can just decrypt the file, and use those values in my code without having to create another file and write the decrypted data?
Yes you can! Use the code on lines 23-28 shown at 9:00 - 10:26. When you decrypt the file, it gets stored in a *decrypted* variable, and then you can use it in your code without having to write it out and read in again.
hi, pretty sure that this account isn't active anymore, but if someone see this message, what's the use of opening the file with "rb" for example and not "r" i understand that b is binary but why do i am supposed to use that ? ( I'm french excuse my horrible english level )
Thankyou so much for your response🙏🏻 Actually I am new in this field so that’s why I don’t know much about the source code and how to use this.It will be very great full if you make a program or share the tutorial to use the source code which you shared just now.Actually encrypted videos are my semester lectures that why I need it the most.Please help brother🙏🏻 And please share the contact so that I will be in touch with you🙏🏻
Hello and thank you for your video! I have managed to get my .py script, encrypted. But now i'm stuck on the next step, how to make it possible to run the encrypted .py file on raspberry. So for example i have script in .py, i want to share this script with other people, to enable them to run my script on their raspberry, but i want to keep the code within the script encrypted. Do you have any pointers for me on how to do this? Thanks in advance! And again thanks for the great video!
Thank you for your feedback! I will create larger font in the future videos! You can also access the content of the tutorial with step by step instructions on my Python blog: pyshark.com/encrypt-and-decrypt-files-using-python/
Great video, it's very insightful and I learned alot... I'm going to build a password manager and I needed some form of basic encryption. You helped me out today thank you ...
WOW ! Thanks ! Best tutorial ever ! I modified the script for make a Input for choose the file (path) you want to crypt . Really nice , its work with all documents (even the .png) ! Thanks so much ! 😄😊😉🙂
Can we take a look at it??
Hi, if you find some time, can you share a script with me
Nicely presented, just how I like it - organized, simple, straight-forward and, most importantly, no fluff, diversions, asides or unnecessary chatter. A really nice job. Thank you.
Glad you enjoyed it!
After so many hours I found you and thankyou !!!
I’m happy the tutorial is helpful!
@@MishaSv Bro , I created Encryption and Decryption app by your idea, in this app I provide some functionality like you can encrypt and decrypt text not only just text you can encrypt and decrypt the file and message which appear your files has been saved, After creating that app I got 2nd position in my class on Science Exhibition Day, and I am really gladd thankyou so much , this tutorial really help me
@@khalidhussain5830I’m happy it helped you! Subscribe to the channel and check out my other programming tutorials!
Thank you for this fantastic video on encryption and decryption! Your explanations were clear and insightful, making a complex topic easy to understand. I truly admire your ability to break down such intricate concepts so effectively. Keep up the great work!
Glad it was helpful!
Great video, it's very insightful and I learned alot...
I'm going to build a password manager and I needed some form of basic encryption.
You helped me out today thank you ...
Best video ive seen, it's sad that all copypaste videos are getting recommended over this. GREAT STUFF!!
Thank you!
You Really Earned a subscriber bro, I have learned alot and surely gonna apply in projects
Thank you!
Great sir , really very very impressive teaching way and knowlodge.
Thank you!
Code works 100% 👍
You're super amazing!
Thank you!
how can i encrypt files that are in a directory
Nice tutorial... thank you...
Can I decrypt any PHP files which is already Encrypted by this technique ?
You can if you have the encryption key.
Very helpful. I kept trying to learn this from ChatGPT, but it kept giving me the wrong answers and my code didn't work. Thank you!
yes its chatgpt it not know is answer correct or not. you need allways check. i mean correct LOL
Glad it helped!
hello I want to ask, if I don't have the key, can it still be decrypted? If possible, what should I do?
i have an issue "ModuleNotFoundError: No module named 'cryptography'" any chance you know how to solve this
Have you installed the required module?
If not, then open terminal and run:
pip install cryptography
Hi what kind of encryption type are you using?
Symmetric encryption with Fernet
Can I use it for all my python file or it is only for CSV file?
You can use it for any file.
Can it be used for doc files?
Yes, it can be used on other file formats.
does this work with image file?
Yes, it should work with any file
I have similar code to encrypt multiple files, but it is really way too slow if the files are about 50+ files and have videos in it, I dont know what to do to speed it up
Hello,
What do we do with the encryption key ? If for example I need to build a Production level app. How do I handle the encryption key ? Its bad practice to store it with the program. It is bad practice to hardcode the key into the code. What is the best approach ?
You can store it in some SFTP folder as a file which is read whenever you do operations with files in a production level app.
How secure is this method, Im considering learning code again and thing I'd go back to making lil apps and found this subject to be interesting , do you think this would make a safe and secure enough encryption for an application?
The encryption key is not appearing in the mykey.key file. The file is empty.
You should try reinstalling the library and check again. What IDE are you using? I recommend to run it in VS Code, because if you need any additional plugins, it will let you download them right away, and you should see the key inside the .key file.
This was a symmetric key right? Assume using the asymmetric key pair works too?
There is a different way you should construct the keys for asymmetric encryption, because now you would need pairs to be created.
Here is a good example how to do it: nitratine.net/blog/post/asymmetric-encryption-and-decryption-in-python/
The only problem with encryption I tried it i encrypted a python script and tried running it it won't run it shows the encryption in cmd and invalid syntax
hi misha , the video was amazing , but to be honest I'm stuck at VS "cryptography.fernet " isn't working could you help me what I need to add to VS , its my first year as software eng student and that's 1 of my projects in python , could you help me please?
Did you install the library from the command line?
pip install cryptography
@@MishaSv i've tried at like 55 times , doesn't work ;/ , idk what to do still clueless
This probably has to do with your Python interpreter in VS Code.
What you want to do is open VS Code and press Ctrl+Shift+P and type "Python interpreter" you should see an option: "Python: Select Interpreter", click on it and you will see many Python interpreters available, try selecting one and see whether the underline will disappear in the code and you can run it. If it doesn't work, try a different Python interpreter.
Here is the link explaining Python environments in VS Code: code.visualstudio.com/docs/python/environments
@@MishaSv I tried everything in the video but still the same problem, tbh I feel really bad and don't know how to do it, do you have discord by any chance you could teach me how to fix this problem?
hi Misha. Thank you for the tutorial. Is there any way that I can just decrypt the file, and use those values in my code without having to create another file and write the decrypted data?
Yes you can!
Use the code on lines 23-28 shown at 9:00 - 10:26. When you decrypt the file, it gets stored in a *decrypted* variable, and then you can use it in your code without having to write it out and read in again.
hi, pretty sure that this account isn't active anymore, but if someone see this message, what's the use of opening the file with "rb" for example and not "r" i understand that b is binary but why do i am supposed to use that ? ( I'm french excuse my horrible english level )
The 'b' stands for binary. Useful for reading and writing non-text or non-printable characters when you are doing projects such as this.
Bhai I have a encrypted .Gem file and I have its encryption key too then please can you tell me the way to undo it again into mp4 video please help🙏🏻
This is the closest I could find for your question: github.com/itay-grudev/encryption
Thankyou so much for your response🙏🏻
Actually I am new in this field so that’s why I don’t know much about the source code and how to use this.It will be very great full if you make a program or share the tutorial to use the source code which you shared just now.Actually encrypted videos are my semester lectures that why I need it the most.Please help brother🙏🏻
And please share the contact so that I will be in touch with you🙏🏻
So the .key file type is considered as unlnown so read function doesnt work, anyone can help tell what needs to be done
Hello and thank you for your video! I have managed to get my .py script, encrypted.
But now i'm stuck on the next step, how to make it possible to run the encrypted .py file on raspberry.
So for example i have script in .py, i want to share this script with other people, to enable them to run my script on their raspberry, but i want to keep the code within the script encrypted.
Do you have any pointers for me on how to do this?
Thanks in advance! And again thanks for the great video!
Can you please use a larger font size? I can't see!!!
Thank you for your feedback! I will create larger font in the future videos!
You can also access the content of the tutorial with step by step instructions on my Python blog:
pyshark.com/encrypt-and-decrypt-files-using-python/
Can i unlock ehi files
You can decrypt the files
Thank!
you
You are welcome!
how to encrypt and decrypt arcade
What do you mean by arcade?
@@MishaSv sorry Misha actually it was a spelling mistake can you tell me how to encrypt and decrypt arcade
I still don't really understand what you mean by arcade.
VERY
VER
VE
V
V
VE
VER
VERY
Can you send me the source?
pyshark.com/encrypt-and-decrypt-files-using-python/
Great video, it's very insightful and I learned alot...
I'm going to build a password manager and I needed some form of basic encryption.
You helped me out today thank you ...