<commit_before>#creating a sha256 hash from input
#need to expand on this to provide hash choice

import hashlib

input_hash = input('Select value to hash ')

encoded_hash = hashlib.sha256(input_hash.encode())

print (encoded_hash.hexdigest())

<commit_msg>added the rest of the sha hashes<commit_after>#creating a sha256 hash from input
#need to expand on this to provide hash choice

import hashlib

input_hash = input('Select value to hash ')

encoded_sha1 = hashlib.sha1(input_hash.encode())
encoded_sha224 = hashlib.sha224(input_hash.encode())
encoded_sha256 = hashlib.sha256(input_hash.encode())
encoded_sha384 = hashlib.sha384(input_hash.encode())
encoded_sha512 = hashlib.sha512(input_hash.encode())

print ('sha1 ',encoded_sha1.hexdigest())
print ('sha224 ',encoded_sha224.hexdigest())
print ('sha256 ',encoded_sha256.hexdigest())
print ('sha384 ',encoded_sha384.hexdigest())
print ('sha512 ',encoded_sha512.hexdigest())

{'fraction_non_alphanumeric': 0.11505376344086021, 'fraction_numerical': 0.06559139784946237, 'mean_word_length': 6.957264957264957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1310334', 'n_tokens_mistral': 338, 'n_tokens_neox': 293, 'n_words': 79}