Added Hash algo implementation