[Jprogramming] An RSA encryption implementation

Pascal Jasmin godspiral2000 at yahoo.ca
Tue Jan 28 14:29:34 UTC 2014


fixed listing, as it was messing up on J32, and on fresh loads.

J6 needs to load  system/main/files and system/packages/mist/task

Also J6 can in fact do signatures, or at least can with upto 768bit long keys.  (earlier Problem was unrelated to j32.  fixed in listing)




----- Original Message -----
From: Raul Miller <rauldmiller at gmail.com>
To: Programming forum <programming at jsoftware.com>
Cc: 
Sent: Tuesday, January 28, 2014 9:02:54 AM
Subject: Re: [Jprogramming] An RSA encryption implementation

you are missing a require statement, if you expect this to work on
older J versions (such as version 6).

Still, so far at least, this looks nice.

Thanks,

-- 
Raul



On Tue, Jan 28, 2014 at 8:53 AM, Pascal Jasmin <godspiral2000 at yahoo.ca> wrote:
> J has been able to encrypt/decrypt (verify/sign) rsa signatures for some time, with special code.
>
> http://www.jsoftware.com/jwiki/PascalJasmin/RSA%20native%20and%20openssl%20control
>
>
>
> includes code to generate and retrieve key parameters by spawning openssl commanline tools.  The first line of script is the openssl path.
>
>  on 32bit system, verify works, but RSAsign has a limit error at 960 bitlength.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



More information about the Programming mailing list