skip to main content

Library Routines : A$GET_DIGEST

A$GET_DIGEST
The A$GET_DIGEST routine returns the digest of one or more items.
Message digests are secure one-way hash functions that take arbitrary-sized data and output a fixed-length hash value.
Syntax:
 CALL "A$GET-DIGEST" using digest
Parameters:
Examples:
Example - Calculate the digest of the “Veryant” word
       working-storage section.
       77  input-string pic x(256).
       77  digest       pic x any length.
       procedure division.
           move "Veryant" to input-string.
           call "A$GET_DIGEST" using digest, input-string.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left