I have the following code snippets
thetype = raw_input("Please enter hash type. md5 or sha1")
hash_type = hashlib.thetype(word).hexdigest()
This returns the error "AttributeError: 'module' object has no attribute 'thetype' " I kind of understand why but I guess what I am really asking is, how can I fix this?