fix indentation
change rsa nist loader to use strings for algorithm name
pass the hash class rather than using getattr