PreviousNextIndex

ENCRYPT-AUDIT-MAC-KEY( ) method

Encrypts and encodes the specified character expression and returns an encrypted character value that you can store for later use in message authentication code (MAC) operations.

Return type: CHARACTER

Applies to: AUDIT-POLICY system handle

Syntax
ENCRYPT-AUDIT-MAC-KEY( encrypt-key ) 

encrypt-key

The following code fragment illustrates how to use the ENCRYPT-AUDIT-MAC-KEY( ) method:

DEFINE VARIABLE val AS CHARACTER NO-UNDO. 
DEFINE VARIABLE key AS CHARACTER NO-UNDO INITIAL “Open Sesame”. 
. . . 
val = AUDIT-POLICY:ENCRYPT-AUDIT-MAC-KEY(key). 
. . . 
_db-detail._db-mac-key = val. 


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex