Key Derivation Function.
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 |