AAL2GenQAKey
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

AAL2GenQAKey

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

Function prototype

aat_int32 AAL2GenQAKey (aat_ascii*      aQAIndexList,
                        aat_ascii*      aQAHashData,
                        aat_ascii*      aUserID,
                        aat_ascii*      aQAKey[32+1]);

Description

This function generates a QA key for AAL2GenActivationCodeEx based on two lists of indexes and their matching hashes, and the QA key user ID owner.

Parameters

  Table: Parameters (AAL2GenQAKey)
TypeNameUseDescription
aat_ascii *aQAIndexListIList of the question index on two randomly chosen characters.
aat_ascii *aQAHash Data IList of matching answer hashes on 30 characters.
aat_ascii *aUserIdIID of the QAKey owner.
aat_ascii [32+1]aQAKey OKey on 32 characters calculated from the answer hash of the user. This key will be used to encrypt the activation data. The key is null-terminated.

Return codes

  Table: Return codes (AAL2GenQAKey)
CodeMeaningCodeMeaning
0Success541Invalid index list
533Invalid UserId pointer542Invalid hash list
540Invalid QAkey pointer-1501Memory allocation failed

Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle