Open
Description
Nice license library.
But I have aquestion about the salt generation.
It seems explicitSalt and implicitSalt are all generated by MakeSalt when generation a license.
In code below:
bool MakeSalt(Salt& salt)
{
unsigned char tmp[32] = {0};
std::string encoded;
EncodeBase64(tmp, 32, encoded);
salt = encoded;
return true;
}
the salt based64 with empty string alwayas be 'AAAAAAAAAAAAA...', which will cause all salt be same. It will not be safe for usage. Is it necessary to customize the salt value with any interface?
Metadata
Metadata
Assignees
Labels
No labels