tryToxic
 All Classes Functions
cryptClass.cm Class Reference

Public Member Functions

def __init__
 
def setKey
 
def encrypt
 
def decrypt
 

Public Attributes

 key
 
 mod
 
 name
 
 rand
 

Detailed Description

Definition at line 6 of file cryptClass.py.

Member Function Documentation

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: