GetEncryptionKey function

Official Content
This documentation is valid for:

Generates an encryption key in hexadecimal format with a length of 32 characters.

Syntax

GetEncryptionKey()

Type Returned:
Character 

Scope

Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators:.NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Apple, Android, Angular

Description

This function generates a new encryption key in hexadecimal format with a length of 32 characters.

The key value returned is used to initialize encryptions.

This function must be run again in order to generate a new key.

Sample

&Key=GetEncryptionKey()

GetEncryptionKey Function Sample

See Also

Encrypt64 function
Decrypt64 function