PolyPasswordHasher implementation in C