|
|
|
|
|
|
|
|
|
|
Compression / encryption functions
Note: These functions are also available in prefix syntax ( Compression / encryption functions (prefix syntax)). The following functions are used to manage encryption and compression:
| | | Compress | Compresses a string or a memory block (buffer) in binary format. | | Decode | Decodes a character string that was encoded by Encode. | | Decrypt | Decrypts a character string that was encrypted by Encrypt. | | DecryptAsymmetric | Decrypts a buffer with a private/public key algorithm with RSA encryption. | | DecryptAsymmetricEnveloped | Performs the asymmetric encryption of an envelope that has been encrypted with EncrypteAsymmetricEnveloped. | | DecryptStandard | Decrypts a message that was encrypted with a symmetrical encryption algorithm (AES, DES, etc.). | | Encode | Encodes a character string or a buffer. To decode the result, simply use Decode. | | Encrypt | Encrypts a character string in binary format or in ASCII format. | | EncryptAsymmetric | Encrypts a buffer using an asymmetric encryption algorithm (RSA) that requires a public key and a private key. | | EncryptAsymmetricEnveloped | Performs an asymmetric encryption of an envelope. | | EncryptGenerateRSAKey | Generates an RSA private/public key pair. | | EncryptStandard | Encrypts a character string or a binary buffer by using a symmetrical encryption algorithm (AES, DES, etc.) | | LuhnCalculate | Calculates the next Luhn check digit for a given sequence. | | LuhnCheck | Checks that the given sequence is valid according to the Luhn formula. | | Creates a set of shares for the same secret using Shamir's algorithm. This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 4. | | Generates a random prime number that can be used to create shares using Shamir's algorithm. This number is generated according to the secret. This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 4. | | Reconstructs a secret from a set of shares. This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 4. | | Uncompress | Decompresses a memory block (buffer) that was compressed by Compress. | | UUDecode | Decodes a character string in UUEncode format. | | UUEncode | Encodes a character string according to the UUEncode algorithm. |
Related Examples:
|
Unit examples (WINDEV): Asymmetric encryption
[ + ] Using the asymmetric encryption functions (EncryptAsymmetric, DecryptAsymmetric)
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|