Calculates the hash value for the passed string.
CalcHash('string', 'Hash method')
Possible 'Hash method': md5, sha1, sha256, SHA512
CalcHash('The hash value is calculated from this text', 'md5')
Result: 1010f72b44403ac5730724798fd02f5f
CalcHash('The hash value is calculated from this text', 'SHA512')
Result: db73fb27f954cbbcc5eade1fe3c474379e42aec7fb6559bccce7fdf1f4bb7a1bdc2bb6fdcf10e5e1c18e7c72313ab2d2425b0ee74e47f98bca76607719de6e03