¡@

Home 

python Programming Glossary: plaintext

Undecompilable Python

http://stackoverflow.com/questions/15087339/undecompilable-python

unreadable code like the c exe binary file ..unlike the plaintext .py and very easily recoverable .pyc files I don't mind if it..

i *must* store third party credentials in my database. best way?

http://stackoverflow.com/questions/1994112/i-must-store-third-party-credentials-in-my-database-best-way

credentials is not useful as I must restore credentials to plaintext for the SSL call. I'm using python on google app engine and..

How to efficiently parse emails without touching attachments using Python

http://stackoverflow.com/questions/2301213/how-to-efficiently-parse-emails-without-touching-attachments-using-python

Subject Date name of attachments and message body just plaintext for now its trivial to add html messages . I used the Gmail.. mailserver.pass_ 'YOURPASSWORD' #consider not storing in plaintext numMessages len mailserver.list 1 for i in reversed range numMessages..

Python library for converting plain text (ASCII) into GSM 7-bit character set?

http://stackoverflow.com/questions/2452861/python-library-for-converting-plain-text-ascii-into-gsm-7-bit-character-set

¬`````````````````````````` def gsm_encode plaintext res for c in plaintext idx gsm.find c if idx 1 res chr idx continue.. def gsm_encode plaintext res for c in plaintext idx gsm.find c if idx 1 res chr idx continue idx ext.find c.. ¬`````````````````````````` def gsm_encode plaintext res for c in plaintext idx gsm.find c if idx 1 res chr idx continue..

Encrypting a file with RSA in Python

http://stackoverflow.com/questions/6309958/encrypting-a-file-with-rsa-in-python

secret_key os.urandom 16 # Padding see explanations below plaintext_length Crypto.Util.number.size rsa.n 2 8 padding ' xff' os.urandom.. rsa.n 2 8 padding ' xff' os.urandom 16 padding ' 0' plaintext_length len padding len secret_key # Encrypt the secret key with.. the public key and can therefore attempt to guess the plaintext if the attacker thinks the plaintext may be swordfish then the..

Decrypting strings in Python that were encrypted with MCRYPT_RIJNDAEL_256 in PHP

http://stackoverflow.com/questions/8217269/decrypting-strings-in-python-that-were-encrypted-with-mcrypt-rijndael-256-in-php

import base64 KEY_SIZE 16 BLOCK_SIZE 32 def encrypt key plaintext padded_key key.ljust KEY_SIZE ' 0' padded_text plaintext BLOCK_SIZE.. plaintext padded_key key.ljust KEY_SIZE ' 0' padded_text plaintext BLOCK_SIZE len plaintext BLOCK_SIZE ' 0' # could also be one.. KEY_SIZE ' 0' padded_text plaintext BLOCK_SIZE len plaintext BLOCK_SIZE ' 0' # could also be one of #if len plaintext BLOCK_SIZE..

Caesar Cipher Function in Python

http://stackoverflow.com/questions/8886947/caesar-cipher-function-in-python

Here's my code plainText raw_input What is your plaintext shift int raw_input What is your shift def caesar plainText..

Mark data as sensitive in python

http://stackoverflow.com/questions/982682/mark-data-as-sensitive-in-python

place. Hashing is the standard answer though of course the plaintext eventually needs to be processed somewhere. The correct solution..