ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / HASP key functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HaspHLEncrypt (Function)
In french: HaspHLCrypte
Warning
From version 24, HaspHLCrypt is kept for backward compatibility. This function is replaced by HaspHLEncrypt.
Encrypts a character string by using the algorithms of the specified Hasp key.

Remark : This string can be decrypted by HaspHLDecrypt while using the same key.
Example
// Encrypts the content of the edit control (password)
EncryptedPassword is string
EncryptedPassword = HaspHLEncrypt(EDT_Session_ID, EDT_Password)
Syntax
<Result> = HaspHLEncrypt(<Session identifier> , <String to encrypt>)
<Result>: Character string
Encrypted string. In an error occurs, the ErrorOccurred variable is set to True and ErrorInfo returns the details of the error.
<Session identifier>: Integer
Identifier of the Hasp session, returned by HaspHLLogin.
<String to encrypt>: Character string
Character string to encrypt (15 characters minimum).

Caution: An error will occur if this string contains less than 15 characters.
Component: wd290rtf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2023

Send a report | Local help