Kbase P164313: How to encode using MD5-DIGEST function.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/22/2010 |
|
Status: Unverified
GOAL:
How to encode using MD5-DIGEST function.
GOAL:
How to encode using MD5.
GOAL:
Sample 4GL program using the MD5-DIGEST function.
FACT(s) (Environment):
OpenEdge 10.x
All Supported Operating Systems
FIX:
MD5-DIGEST function hashes the specified data using the RSA Message Digest Hash Algorithm (MD5), and returns a 16-byte binary message digest value as a RAW value.
Example:
DEFINE VARIABLE a AS RAW.
a = MD5-DIGEST("The quick brown fox jumps over the lazy dog", "ABC2").
DEFINE VARIABLE b AS INTEGER.
REPEAT b = 1 TO LENGTH(a).
DISPLAY b GET-BYTE(a, b).
END.