added algorithm to password digester