Encrypts a text using a key in hexadecimal format with a length of 32 characters.
Encrypt64 (&text, &key)
Where:
&text
Is the parameter to be encrypted.
&key
Is the key to be used for the encryption, generated by the GetEncryptionKey function.
Type Returned:
Character
Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3), Apple, Android,
Angular
It encrypts the value received as the first parameter, using the key indicated as the second parameter. The encryption is based on the Twofish algorithm using a default key in hexadecimal format with a length of 32 characters.
Event 'Encrypt'
&key=GetEncryptionKey()
&text=Encrypt64("Password",&key)
Endevent
GetEncryptionKey function
Decrypt64 function
Cryptography data types