The replacement is a better supported library which also includes salt generation (crypt.mksalt is too short for argon2).