Hash calculation module for C++ framework