rather provide 2 types of this method. one with crc and another with const char*. const char* version should use crc version. Above, you should use crc constants directly.