Peach :: Transformers :: crypto :: CvsScramble :: Class CvsScramble
[hide private]

Class CvsScramble

source code


CVS pserver password scramble

Instance Methods [hide private]
string
realEncode(self, data)
Override this to implement your transform.
source code

Inherited from transformer.Transformer: __init__, decode, encode, getAnotherTransformer, realDecode, setAnotherTransformer, transform

Static Methods [hide private]
 
unittest() source code
Class Variables [hide private]
  _shifts = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 1...
Method Details [hide private]

realEncode(self, data)

source code 

Override this to implement your transform.

Parameters:
  • data - Data to transform
Returns: string
transformed data
Overrides: transformer.Transformer.realEncode
(inherited documentation)

Class Variable Details [hide private]

_shifts

Value:
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,\
 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 114, 120, 53, 79, 96,\
 109, 72, 108, 70, 64, 76, 67, 116, 74, 68, 87, 111, 52, 75, 119, 49, \
34, 82, 81, 95, 65, 112, 86, 118, 110, 122, 105, 41, 57, 83, 43, 46, 1\
02, 40, 89, 38, 103, 45, 50, 42, 123, 91, 35, 125, 55, 54, 66, 124, 12\
6, 59, 47, 92, 71, 115, 78, 88, 107, 106, 56, 36, 121, 117, 104, 101, \
100, 69, 73, 99, 63, 94, 93, 39, 37, 61, 48, 58, 113, 32, 90, 44, 98, \
60, 51, 33, 97, 62, 77, 84, 80, 85, 223, 225, 216, 187, 166, 229, 189,\
...