Done writing hash calculation module