cryptofuncs: Changed hash template function default algorithm to sha256.