Xbasic

Encryption Functions

Description

Alpha Anywhere provides the following Encryption functions and methods.

Name
Description
*CRC Function

Returns a CRC value for text. The *CRC() function generates a 32 bit Cyclic Redundancy Code (CRC) from a text string.

*MD5 Function

Create the MD5 hash for a string.

BASE64DECODE Function

Decode (from string) binary data using BASE64.

BASE64ENCODE Function

Encode (to string) binary data using BASE64.

BASE64ENCODE_FILE Function

Encode (to string w/ CRLFs) binary data using BASE64.

CHKDIGIT Function

Returns a checksum digit for a string of numbers.

DECRYPT_STRING Function

Decrypt a string given Encrypted string.

DEFAULT_ENCRYPTION_KEY_SET Function

Sets the default key to encrypt and decrypt tables

ENCRYPT_STRING Function

Encrypt a string given Plaintext.

hmac_hash Function

Generates a digital signature of the data using the key and HMACSHA1, HMACSHA256, or any other signing method supported by the .NET Framework

MD5 Function

Generates an MD5 checksum of the text_to_sum

sha512 Function

Creates a hash using the SHA512 algorithm.

UUDECODE Function

Decode (from string) binary data using UUEncode scheme (64 bits).

UUENCODE Function

Encode (to string) binary data using UUEncode scheme (64 bits).

See Also