python script that accepts text string, number of iterations, salt, and algorithm and calculates the hash in either hex or base64