You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61850gui/inc/calc_activation_code.h

26 lines
489 B
C

2 years ago
#ifndef CALC_ACTIVATION_CODE_H
#define CALC_ACTIVATION_CODE_H
#include <string>
extern void calc_activation_code(
const std::string & terminal_number,
const std::string & eigen_value,
std::string & activation_code
);
extern void calc_life(
const int& life,
unsigned char* encrypted_life
);
extern void decode_life(
unsigned char* data,
unsigned char* result);
#endif // CALC_ACTIVATION_CODE_H