Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > E

ENCRYPT

Scroll Prev Top Next More

(ENCRYPT('string','password'))

 

Returns an encrypted string of HEX characters, which is twice as long as the original string, plus 8 more characters. A password must be specified to use with the DECRYPT function in order to return the original string.

 

SET VAR vEncrptNumber TEXT = (ENCRYPT('8005552368','laser'))

SHOW VAR vEncrptNumber

1CCF2D7B765F4715415D53471641

 

Once a value is encrypted, users cannot tell what the value is by selecting the raw encrypted value. If a form retrieves the encrypted value, it can then call the DECRYPT function the value to get the original value.