Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Paul Rubin p3.py lightweight encrypt/decrypt - is there a python3 version?
Post: Paul Rubin p3.py lightweight encrypt/decrypt - is ...

Hi all, I'm currently using the lightweight encryption/decryption script by Paul Rubin on python2.7 below. I was wondering if there's a python3 version of it or if anyone here could help with the con...
mason28 General Coding Help 0 1,622 Feb-19-2020, 03:38 AM
    Thread: Help with porting to python3
Post: Help with porting to python3

Hi everyone, I need help with converting an encryption module (p3.py) written for Python2 to Python3. First, I converted the module to python3 using the online python 2 to 3 converter (http://www.py...
mason28 General Coding Help 3 5,295 Dec-22-2018, 06:40 PM
    Thread: Help with script error
Post: RE: Help with script error

Just thought I would post the fix here: from string import join from array import array import sha, base64i from time import time # This fix https://mail.python.org/pipermail/python-list/2010-Januar...
mason28 General Coding Help 10 7,210 Jun-07-2017, 01:00 PM
    Thread: Help with script error
Post: RE: Help with script error

Found a fix at https://mail.python.org/pipermail/python...63791.html Thanks guys **smile**
mason28 General Coding Help 10 7,210 Jun-07-2017, 03:55 AM
    Thread: Help with script error
Post: RE: Help with script error

encrypted = p3_encrypt('hello', 'some_salt') File "/home/modules/mycrypt.py", line 59, in p3_encrypt stream = array('L', plain+'0000'[n&3:]) ValueError: string length not a multiple of i...
mason28 General Coding Help 10 7,210 Jun-07-2017, 12:55 AM
    Thread: Help with script error
Post: RE: Help with script error

(Jun-06-2017, 05:50 PM)buran Wrote: please, follow the instructions where do you put this line p3_encrypt('hello', 'some_salt;)there is obvious error in this line - the semicolon after some_salt a...
mason28 General Coding Help 10 7,210 Jun-06-2017, 05:54 PM
    Thread: Help with script error
Post: RE: Help with script error

(Jun-06-2017, 05:25 PM)buran Wrote: what does it mean 'dies", i.e. post full traceback in error tags. Also if you made any changes, post the code YOU are running, not the one you have copy/paste fro...
mason28 General Coding Help 10 7,210 Jun-06-2017, 05:39 PM
    Thread: Help with script error
Post: Help with script error

Hi everyone, I found the following code at (devnote.stokemaster.com/2009/07/simple-way-to-encrpt-and-decrypt-short.html). When I put print statements to debug, the script dies in the function "p3_e...
mason28 General Coding Help 10 7,210 Jun-06-2017, 04:41 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020