Setup pre-processing | SHA 1 or SHA-256 and Key Hash