function calculateHash calculateHash(input: string,sh_func?: types.HashAlgorithm,): Promise<string> Calculate Hash of a string Parameters input: string optional sh_func: types.HashAlgorithm = SHA-256 can be "SHA-256" or "SHA-384" Return Type Promise<string>