@ClarityCoders I tried encrypting an ipynb file and it worked. however, when i tried to decrypt it, i got this error TypeError: string argument without an encoding how do i fix or circumvent this? thanks in advance! Edit: bytearray takes an optional second arguement ,ie encoding scheme. I've tried utf-8 , ASCII and ANSI but am unable to decrypt the original notebook.
best encryption tutorial ever
name program ........
Good clear instructions. Stayed on topic with no extra frills to complicate things. 🙂
Thanks! Now i will encrypt school files
*@ClarityCoders* How do we keep an *string* as the *key* instead of making the *key* as an *int* ?
*Great tutorial!*
Glad you think so!
This does not work with .txt files, still opened with notepad
@ClarityCoders I tried encrypting an ipynb file and it worked. however, when i tried to decrypt it, i got this error
TypeError: string argument without an encoding
how do i fix or circumvent this? thanks in advance!
Edit: bytearray takes an optional second arguement ,ie encoding scheme. I've tried utf-8 , ASCII and ANSI but am unable to decrypt the original notebook.
interesting I'll have to give it a try.
@@ClarityCoders any solution?
how do i fix "error: filename is not defined."
@Jack William ok bot
it means you didn't define the variable filename
Give filename with extension
Ex an image may have , .jpg , .png etc format.
Give full name
image.png , like this.
I have public key how to get private key
Thanks!
bro is there any way to overwrite the file . rather creating new file>?
Remove the "CC-" from line 11. Just use file = open(filename, "wb")
Is this breakeable in anyway?...maybe with brute Force iterating till it gets the right key?
Yup brute force would work if you know characters. This would be just something to use to keep honest people honest ;)
You can create you own logic of encryption. He has used XOR method. Don't forget to create the logic for decryption too :)
@@anuragsrigyan677 Except XOR what can be used sir?
can this be used for encrypting ZIP files as well?
Yes
can we decript
any how a file encripted by ransomware
please create a video bro..
Dont use software but use analog enscrypting separate from the mschine and it include day and gps then can be spy cstcher for network copy
So simple, yet so cool!
Thanks! Appreciate the view and comment.
@@ClarityCoders No, thank you man!