PP_NDECRYPTX()
Decrypts four numbers from string given a seed number
Applies to:
Win32, Win64
Syntax-VB:
Declare Function pp_ndecryptx(ByVal buffer As String, ByRef number1 As Long, ByRef number2 As Long, ByRef number3 As Long, ByRef number4 As Long, ByVal seed As Long) As Long
Syntax-C:
LONG pp_ndecryptx(LPSTR buffer, LPLONG number1, LPLONG number2, LPLONG number3, LPLONG number4, LONG seed)
Arguments:
<buffer> is the string to be decrypted
<number1> is the buffer to place the first decrypted number
<number2> is the buffer to place the second decrypted number
<number3> is the buffer to place the third decrypted number
<number4> is the buffer to place the fourth decrypted number
<seed> is the seed number used when the numbers were encrypted
Returns:
PP_SUCCESS if successful or PP_FAILURE if the string buffer or seed is invalid. If PP_FAILURE is returned, all number buffers should be set to zero.
Description:
Used to decrypt numbers that were previously encrypted with pp_nencryptx(). Refer to pp_nencryptx() for typical usage.
Example:
Refer to pp_nencryptx() for an example of encrypting and decrypting multiple numbers.
See Also: