hash calculation tool. replica of my cs gist doing the same.