nl_tokens: Calculate pubkey extraction parameter .
pl_tokens: function calcPubKeyRecoveryParam ( curve , e , signature , Q ) { for ( var i = 0 ; i < 4 ; i ++ ) { var Qprime = recoverPubKey ( curve , e , signature , i ) // 1.6.2 Verify Q if ( Qprime . equals ( Q ) ) { return i } } throw new <mask> ( 'Unable to find valid recovery factor' ) }