Currently it is: https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Crypt/Base.php#L1535
But i try to make it more clear. Thank you also Patrick.