+ Reply to Thread
Results 1 to 2 of 2

Thread: [Python] Encryption Program - PyCrypt

  1. #1
    ShadenSmith's Avatar
    ShadenSmith is offline Newbie
    Join Date
    May 2009
    Location
    Kentucky - USA
    Posts
    19
    Rep Power
    10

    [Python] Encryption Program - PyCrypt

    PyCrypt is something I threw together in my first attempt at learning some basic cryptography. It's a command line application that is bundled with a password generator I also wrote. All details and usage instructions are in the readme file, I strong suggest you check those out for a more detailed description.

    Here is an explanation of the encryption algorithm, taken from the readme file:

    A list containing all printable characters, including numbers, punctuation, and whitespace is generated, called alphabet. For each character in the supplied plain text (or encrypted text, the program does not discriminate between the two) and the corresponding character in the supplied key, the indices of the characters' locations in the alphabet list are added. This sum (or difference, in the case of decryption) is then used to further indice the alphabet list and add the corresponding character to an ouput string. Newline characters are considered in this algorithm.

    Spam
    + eggs
    --------

    68 41 26 50 = 'FqO}


    Note that the } is generated from the newline character.


    Python's string.printable is used to generate the list of printable characters.
    The strength of this encryption relies entirely on the quality of the key. It is because of this that the program enforces strict key lengths. Your key must be at least as long as the plaintext. I understand that this is a large hassle, that is why I wrote the password generator along with the program.
    Attached Files Attached Files

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    marcalpv is offline Newbie
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    0

    Thumbs up

    Hi Shaden,
    I am interested in pycrypt. Since I am new to this site can you please advise me on how to access it?
    Thanks,
    Pedro

    Hi Shaden,
    Thanks, I have now downloaded the zip file. More feedback soon. I have written an Japanese to English CAT in Python. I want to sell and protect it.
    Regards,
    Pedro
    Last edited by WingedPanther; 07-19-2009 at 06:18 AM. Reason: Double post

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 04-01-2011, 07:46 PM
  2. Help with python program
    By MiHavens in forum Python
    Replies: 3
    Last Post: 11-09-2009, 09:42 AM
  3. Replies: 6
    Last Post: 08-21-2009, 12:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts