#!/usr/bin/python# Import Modulesimport hashlib# Gather value to hashv = raw_input("Enter your value: ")print "Which hash algorithm do you want to use?"# Select has algorithma = raw_input("md5, sha1, sha224, sha256, sha384, sha512: ")# Generate hashh = hashlib.new(a)h.update(v)# Present has to usero = h.hexdigest()print "Your hash value using the " + a + "value is: " + o
More to come!
No comments:
Post a Comment