Function EN Version 10.01

@Password

Misc Text

Syntax

@Password(TEXTPASSWORD1);
@Password(TEXTPASSWORD1,FNHASHTYPE2);

Description

Generates from TEXT TEXTPASSWORD1 a hash, which is returned as TEXT . In case of an error, @Password @Error is returned.
FN FNHASHTYPE2:
1 returns a hash like @Password in Notes. (Version compatible with Notes version >= 4.5) (default if the parameter is not specified)
2 returns a hash like @HashPassword in Notes. (Version compatible with Notes version >= 4.6)
3 returns a hash like @HashPassword3 in Notes. (Version compatible with Notes version >= 8.01)

A hash can be checked with the @Function @VerifyPassword against a string for identity; the hash version that was used to generate the hash is irrelevant.
The security of the hashes increases with the higher FN FNHASHTYPE2 used during generation.

Example: @Password(TEXTPASSWORD1);

TEXTPASSWORD1:="Test";
TEXTHASH:=@Password(TEXTPASSWORD1);
@LogReport(TEXTHASH);

A hash (FNHASHTYPE2 1) is generated and output to the log.

Example: @Password(TEXTPASSWORD1,FNHASHTYPE2);

TEXTPASSWORD1:="Test";
FNHASHTYPE2:=2;
TEXTHASH:=@Password(TEXTPASSWORD1;FNHASHTYPE2);
@LogReport(TEXTHASH);

A hash (FNHASHTYPE2 2, or as generated by @HashPassword in Notes) is generated and output to the log.

Example: @Password(TEXTPASSWORD1,FNHASHTYPE2);

TEXTPASSWORD1:="Test";
FNHASHTYPE2:=3;
TEXTHASH:=@Password(TEXTPASSWORD1;FNHASHTYPE2);
@LogReport(TEXTHASH);

A hash (FNHASHTYPE2 3, or as generated by @HashPassword3 in Notes) is generated and output to the log.

Note : This text was machine-translated and may contain inaccuracies.