Update sha256 module: change ifs to case + comment fixes