ConnectorLib Java 25.2
ConnectorLib Java SDK Programming Guide

# hash_string

Hashes the specified string using the SHA1 or MD5 algorithm.

## Syntax

    hash_string( StringToHash, Algorithm )

## Arguments

Argument | Description
--- | ---
`StringToHash` | (string) The string to hash.
`Algorithm` | (string) The algorithm to use. Must be either SHA1 or MD5.

## Returns

(String). The hashed input string.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ConnectorLib Java 25.2

Topic Title: hash_string