Emarref\Jwt\Encryption\Asymmetric::encrypt PHP Method

encrypt() public method

public encrypt ( string $value ) : string
$value string
return string
    public function encrypt($value)
    {
        return $this->algorithm->sign($value, $this->getPrivateKey());
    }