cryptofuncs: Changed hash template function default algorithm to sha256.
Merge pull request #237 from talien/f/hash-default-to-sha256

cryptofuncs: Changed hash template function default algorithm to sha256.