PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HaspHLCrypt (Function)
In French: HaspHLCrypte
Encrypts a character string by using the algorithms of the specified Hasp key.

Note : This string can be decrypted by HaspHLUncrypt while using the same electronic key.
Example
// Encrypts the content of the edit control (password)
EncryptedPassword is string
EncryptedPassword = HaspHLCrypt(EDT_Session_ID, EDT_Password)
Syntax
<Result> = HaspHLCrypt(<Session Identifier> , <String to Encrypt>)
<Result>: Character string
Encrypted string. If an error occurred, the ErrorOccurred variable is set to True and ErrorInfo is used to identify the error.
<Session Identifier>: Integer
Identifier of the Hasp session, returned by HaspHLLogin.
<String to Encrypt>: Character string (with quotes)
Character string to encrypt (15 characters minimum).

Caution: An error will occur if this string contains less than 15 characters.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230rtf.dll
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment