The Digest class / security.Digest methods |
Creates a SHA1 digest from the given string.
security.Digest.CreateDigestString( password STRING, randBase64 STRING ) RETURNING result STRING
Computes the SHA1 digest from a password value and an optional randBase64 random Base64 form string, and returns it into a string encoded in Base64 form.
The random value must be a valid Base64 String. You typically generate this value with the security.RandomGenerator.CreateRandomString() method.
Throws an exception in case of errors, and updates STATUS with an error code.
DEFINE password, digest STRING ... LET digest = security.Digest.CreateDigestString( password, security.RandomGenerator.CreateRandomString() )