| inline void Crypt_SetKey( |
| ) |
Set the encryption key
Call to this function is mandatory before calling Crypt_Encode or Crypt_Decode functions.
| inline void Crypt_SetMap( |
| ) |
Set the encryption character mapping table
Not mandatory (default one will be use instead).
| inline void Crypt_SetCode( |
| ) |
Set the encryption code bit field
Not mandatory (default one will be use instead).
| bool Crypt_Encode( |
| ) |
Encrypt data
Note: Destination string buffer size must be: input data size x 2 + 1.
| bool Crypt_Decode( |
| ) |
Decrypt data
Note: Destination buffer size must be: length of the string / 2.