Return the algorithm type supported by the encryption library currently linked.
uint1 mco_crypt_algorithm();
void | No arguments |
This function returns the algorithm type supported by the encryption library currently linked.
algorithm |
The algorithm type supported by the encryption library currently linked. The possible values are defined in header file MCO_CFG_NO_ENCRYPTION 0 MCO_CFG_RC4_OLD_ENCRYPTION 1 /* RC4 encryption: for backward compatibility only */ MCO_CFG_RC4_ENCRYPTION 2 MCO_CFG_AES_ENCRYPTION 3 |
{ mco_db_h con; MCO_RET rc; uint1 algorithm; ... rc = mco_db_connect( db_name, &con ); if ( MCO_S_OK == rc ) { algorithm = mco_crypt_algorithm(); ... mco_db_disconnect(con); } }