Definition at line 6 of file cryptClass.py.
def cryptClass.cm.decrypt |
( |
|
self, |
|
|
|
encryptedMessage |
|
) |
| |
Decrypt encrypted text.
return clearText
Definition at line 71 of file cryptClass.py.
def cryptClass.cm.encrypt |
( |
|
self, |
|
|
|
rawMessage |
|
) |
| |
Encrypt plaintext.
return encryptedMessage
Definition at line 43 of file cryptClass.py.
def cryptClass.cm.setKey |
( |
|
self, |
|
|
|
key |
|
) |
| |
self.setKey does hash the password and shortens the hash to max of algorithm's key-block_size.
return new Key
Definition at line 20 of file cryptClass.py.
The documentation for this class was generated from the following file: