add example of calculating Hash

add example of calculating Hash