Help for this page

Select Code to Download


  1. or download this
     
    The PTK is generated by concatenating the following attributes: PMK, A
    +P nonce (ANonce), STA nonce (SNonce), AP MAC address, and STA MAC add
    +ress.
    You should better check this as the order is important.
    
  2. or download this
    my $a = "Pairwise key expansion"; # application-specific data
    my $b = $amac.$smac.$snonce.$anonce;
    my $r = "";
        for(my $i=0;$i<4;$i++){
            my $data = $a."\x00".$b.$i;
    
  3. or download this
    DK = PBKDF2(PRF, Password, Salt, c, dkLen)