Re: RSA Optimal asymmetric encryption padding

Henrik Grubbström <[email protected]> Thu, 21 Sep 2017 10:04:57 +0200 (CEST)
Newsgroups gmane.comp.lang.pike.user
Organization Roxen Internet Software AB
Message-ID <[email protected]>
On Thu, 21 Sep 2017, Thomas Gusenleitner wrote:

> Hello,

Hi Thomas.

> does pike support encryption with RSA-OAEP? I just found support for PCKS
> 1.5 Padding.

It and PSS are supported in Pike 8.1.

Pike v8.1 release 11 running Hilfe v3.5 (Incremental Pike Frontend)
> object rsa = Crypto.RSA();
> rsa;
(1) Result: Crypto.RSA.State(1)
> rsa->name();
(2) Result: "RSA"
> rsa->OAEP->name();
(3) Result: "RSAES-OAEP"
> rsa->PSS->name();
(4) Result: "RSASSA-PSS"
> rsa->PKCS1_5->name();
(5) Result: "RSA"

> greetings
> Thomas

 	/grubba

-- 
Henrik Grubbström					[email protected]
Roxen Internet Software AB