static void YescryptHash(const char *input, int length, char *output)
{
    yescrypt_bsty((const uint8_t*)input, length, (const uint8_t*)input, length, 2048, 8, 1, (uint8_t*)output, 32);
}
Beispiel #2
0
/* main hash 80 bytes input */
void yescrypt_hash(const char *input, char *output, uint32_t len)
{
	yescrypt_bsty((uint8_t*)input, len, (uint8_t*)input, len, 2048, 8, 1, (uint8_t*)output, 32);
}