Scol functions definition

Functions

int _RSAgetKeyPair (mmachine m)
 _RSAgetKeyPair : This function generate the RSA private and public key with the size passed in parameter
int _RSAencryptMessage (mmachine m)
 _RSAencryptMessage : This function encrypt a message using the RSA public key
int _RSAdecryptMessage (mmachine m)
 _RSAdecryptMessage : This function decrypt a message using the RSA private key
int _AESgetKey (mmachine m)
 _AESgetKey : This function generate an AES key
int _AESencryptMessage (mmachine m)
 _AESencryptMessage : This function encrypt a message using the AES key
int _AESdecryptMessage (mmachine m)
 _AESdecryptMessage : This function decrypt a message using the AES key

Detailed Description

Scol functions definition


Function Documentation

int _AESdecryptMessage ( mmachine  m  ) 

_AESdecryptMessage : This function decrypt a message using the AES key

Prototype: fun [S S] S

Parameters:
S : the message to decrypt
S : the AES key to use
Returns:
S : the decrypted message
int _AESencryptMessage ( mmachine  m  ) 

_AESencryptMessage : This function encrypt a message using the AES key

Prototype: fun [S S] S

Parameters:
S : the message to encrypt
S : the AES key to use
Returns:
S : the encrypted message
int _AESgetKey ( mmachine  m  ) 

_AESgetKey : This function generate an AES key

Prototype: fun [] S

Returns:
S : the new AES key
int _RSAdecryptMessage ( mmachine  m  ) 

_RSAdecryptMessage : This function decrypt a message using the RSA private key

Prototype: fun [S S] S

Parameters:
S : the message to decrypt
S : the RSA private key to use
Returns:
S : the decrypted message
int _RSAencryptMessage ( mmachine  m  ) 

_RSAencryptMessage : This function encrypt a message using the RSA public key

Prototype: fun [S S] S

Parameters:
S : the message to encrypt
S : the RSA public key to use
Returns:
S : the encrypted message
int _RSAgetKeyPair ( mmachine  m  ) 

_RSAgetKeyPair : This function generate the RSA private and public key with the size passed in parameter

Prototype: fun [I] [S S]

Parameters:
I : size of the RSA key to generate
Returns:
[S S] : the generated private and public key
Generated on Wed May 12 09:42:45 2010 for Security Scol Plugin by  doxygen 1.6.3