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 | |
Scol functions definition
| int _AESdecryptMessage | ( | mmachine | m | ) |
_AESdecryptMessage : This function decrypt a message using the AES key
Prototype: fun [S S] S
| S | : the message to decrypt | |
| S | : the AES key to use |
| int _AESencryptMessage | ( | mmachine | m | ) |
_AESencryptMessage : This function encrypt a message using the AES key
Prototype: fun [S S] S
| S | : the message to encrypt | |
| S | : the AES key to use |
| int _AESgetKey | ( | mmachine | m | ) |
_AESgetKey : This function generate an AES key
Prototype: fun [] S
| int _RSAdecryptMessage | ( | mmachine | m | ) |
_RSAdecryptMessage : This function decrypt a message using the RSA private key
Prototype: fun [S S] S
| S | : the message to decrypt | |
| S | : the RSA private key to use |
| int _RSAencryptMessage | ( | mmachine | m | ) |
_RSAencryptMessage : This function encrypt a message using the RSA public key
Prototype: fun [S S] S
| S | : the message to encrypt | |
| S | : the RSA public key to use |
| 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]
| I | : size of the RSA key to generate |
1.6.3