security.Digest.CreateDigest

Defines a new digest context by specifying the algorithm to be used.

Syntax

security.Digest.CreateDigest(
   algo STRING )
  1. algo is the digest algorithm to be used.

Usage

Creates and initializes a digest context to compute data digest according to the given algorithm.

Available digest algorithms are:
  • "SHA1"
  • "SHA224"
  • "SHA256"
  • "SHA384"
  • "SHA512"
  • "MD5"

Throws an exception in case of errors, and updates STATUS with an error code.