Package moul :: Package crypt :: Module whatdoyousee
[hide private]
[frames] | no frames]

Module whatdoyousee



xTEA encryption/decryiption tool for MOUL

Used to encrypt/decrypt whatdoyousee files

Based on the C++ code from Joseph D. and Anonymous54321

Thanks to Anonymous54321 on the Clockwork Orange BBS forum for the xTEA keys.

Functions [hide private]
  decryptWDYS(fin)
Decrypt whatdoyousee files
  encryptWDYS(instr, fout)
Encrypt whatdoyousee files

Variables [hide private]
  __author__ = 'Christian Heimes'
  __version__ = '$Id: whatdoyousee.py 122 2007-02-02 17:34:06Z tiran $'
  __revision__ = '$Revision: 122 $'
  HEADER = 'whatdoyousee'
  CROSS_REF = (1812616274, 58883343, 974588818, 383483842)
  CROSS_KEY = 'RT\nl\x0f}\x82\x03\x92\x0b\x17:\xc2\x7f\xdb\x16'
  ENDIAN = '<'
  LOG = <logging.Logger instance at 0x40407e0c>

Function Details [hide private]

decryptWDYS(fin)

 

Decrypt whatdoyousee files

fin - open file descriptor in read only and binary mode return - string

encryptWDYS(instr, fout)

 

Encrypt whatdoyousee files

instr - string to encrypt fout - out file descriptor in write and binary mode return - None

Variables Details [hide private]

__author__

None
Value:
'Christian Heimes'                                                     
      

__version__

None
Value:
'$Id: whatdoyousee.py 122 2007-02-02 17:34:06Z tiran $'                
      

__revision__

None
Value:
'$Revision: 122 $'                                                     
      

HEADER

None
Value:
'whatdoyousee'                                                         
      

CROSS_REF

None
Value:
(1812616274, 58883343, 974588818, 383483842)                           
      

CROSS_KEY

None
Value:
'''RT
l\x0f}\x82\x03\x92\x0b\x17:\xc2\x7f\xdb\x16'''                         
      

ENDIAN

None
Value:
'<'                                                                    
      

LOG

None
Value:
<logging.Logger instance at 0x40407e0c>