11.1.5 FromAppending Method

Creates a binary representation from two sequences of bytes by concatenation.

Input Arguments

Name

Type

Mandatory

Description

First

XPRIM_Binary

Yes

The first binary data

Second

XPRIM_Binary

Yes

The second binary data

 

Output Arguments

Name

Type

Mandatory

Description

ErrorInfo

XPRIM_ErrorInfo

No

Indicates an error that might have occurred.

 

Return Value

None

Examples

Define_Com Class(#XPRIM_Binary) Name(#PasswordBytes)

Define_Com Class(#XPRIM_Binary) Name(#SaltBytes)

Define_Com Class(#XPRIM_Binary) Name(#FinalBytes)

. . .

#FinalBytes.FromAppending First(#PasswordBytes) Second(#SaltBytes)

#HashGenerator.Compute Input(#FinalBytes) Result(#HashBytes)