HashPassword (NotesSession - LotusScript®)

Hashes a string value so that it is not recognizable.

Note: This method is new with Release 6.

Defined in

NotesSession

Syntax

hashedPassword$ = notesSession .HashPassword( password$ )

Parameters

password$

String. The string to be hashed.

Return value

hashedPassword$

String. The hashed string.

Usage

A field of type "Password" is not secure. Even though it displays as asterisks, its value can be read programmatically or by looking at the field in the Properties box. Use HashPassword to convert such a value to gibberish.

Use VerifyPassword to examine a hashed value.

Example