Sonata\Component\Payment\Paypal::encrypt PHP Method

encrypt() public method

Default encryption method.
public encrypt ( $hash ) : string
$hash
return string
    public function encrypt($hash)
    {
        return $this->encryptViaBuffer($hash);
    }