# Hash Cheatsheet ## Create Hash * Generate a SHA256 hash ```sh sha256sum $INPUT_FILE ``` ## Create MAC * Both tools produce the same MAC in the following way ```sh hmac256 $KEY $INPUT_FILE sha256hmac $INPUT_FILE --key $KEY ```