Python File Encryption: Quick One day Project!

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024

Комментарии • 31

  • @barnabasborquaye7592
    @barnabasborquaye7592 3 года назад +10

    best encryption tutorial ever

  • @Oodle-ox2vf
    @Oodle-ox2vf 5 месяцев назад

    Good clear instructions. Stayed on topic with no extra frills to complicate things. 🙂

  • @asriel_1
    @asriel_1 Год назад +1

    Thanks! Now i will encrypt school files

  • @mvpxspeed8137
    @mvpxspeed8137 4 года назад +3

    *@ClarityCoders* How do we keep an *string* as the *key* instead of making the *key* as an *int* ?

  • @mvpxspeed8137
    @mvpxspeed8137 4 года назад +2

    *Great tutorial!*

  • @sndraindrop
    @sndraindrop 2 года назад

    This does not work with .txt files, still opened with notepad

  • @suyashmisra7406
    @suyashmisra7406 3 года назад +1

    @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.

  • @themariomine3420
    @themariomine3420 3 года назад +2

    how do i fix "error: filename is not defined."

    • @themariomine3420
      @themariomine3420 3 года назад +2

      @Jack William ok bot

    • @dfgfdgdfgfdg2902
      @dfgfdgdfgfdg2902 3 года назад

      it means you didn't define the variable filename

    • @goswamivibhor
      @goswamivibhor 3 года назад +1

      Give filename with extension
      Ex an image may have , .jpg , .png etc format.
      Give full name
      image.png , like this.

  • @ganesantamil
    @ganesantamil 2 года назад

    I have public key how to get private key

  • @mr.pumpkinpie4366
    @mr.pumpkinpie4366 2 года назад

    Thanks!

  • @anshulrawat3458
    @anshulrawat3458 2 года назад

    bro is there any way to overwrite the file . rather creating new file>?

    • @doomguy606
      @doomguy606 2 года назад

      Remove the "CC-" from line 11. Just use file = open(filename, "wb")

  • @michaelolu4752
    @michaelolu4752 3 года назад

    Is this breakeable in anyway?...maybe with brute Force iterating till it gets the right key?

    • @ClarityCoders
      @ClarityCoders  3 года назад +3

      Yup brute force would work if you know characters. This would be just something to use to keep honest people honest ;)

    • @anuragsrigyan677
      @anuragsrigyan677 3 года назад

      You can create you own logic of encryption. He has used XOR method. Don't forget to create the logic for decryption too :)

    • @goswamivibhor
      @goswamivibhor 2 года назад

      @@anuragsrigyan677 Except XOR what can be used sir?

  • @srayansankarchatterjee4579
    @srayansankarchatterjee4579 3 года назад +1

    can this be used for encrypting ZIP files as well?

  • @gauravrewaliya3269
    @gauravrewaliya3269 2 года назад +2

    can we decript
    any how a file encripted by ransomware
    please create a video bro..

  • @ericphantri96734
    @ericphantri96734 Год назад

    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

  • @kittoh_
    @kittoh_ 3 года назад +1

    So simple, yet so cool!

    • @ClarityCoders
      @ClarityCoders  3 года назад +2

      Thanks! Appreciate the view and comment.

    • @kittoh_
      @kittoh_ 3 года назад

      @@ClarityCoders No, thank you man!