added algorithm to getSaltHash test