Method | Description | |
---|---|---|
generate ( string $Z, string $algorithm, integer $encryption_key_size, string $apu = '', string $apv = '' ) : string | Key Derivation Function. |
Method | Description | |
---|---|---|
toInt32Bits ( integer $value ) : string | Convert an integer into a 32 bits string. |
public static generate ( string $Z, string $algorithm, integer $encryption_key_size, string $apu = '', string $apv = '' ) : string | ||
$Z | string | Shared secret |
$algorithm | string | Encryption algorithm |
$encryption_key_size | integer | Size of the encryption key |
$apu | string | Agreement PartyUInfo (information about the producer) |
$apv | string | Agreement PartyVInfo (information about the recipient) |
return | string |