Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Raul Miller
nkec. I > modified listing to call just rsa. > > > - Original Message - > From: Raul Miller > To: Programming forum > Cc: > Sent: Tuesday, January 28, 2014 7:52:02 PM > Subject: Re: [Jprogramming] An RSA encryption implementation > > Perhaps my issue is t

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Pascal Jasmin
gramm...@jsoftware.com" Cc: Sent: Tuesday, January 28, 2014 8:17:48 PM Subject: Re: [Jprogramming] An RSA encryption implementation Did you change the top line in the script to point to where openssl is installed?: sslp =: 'D:\OpenSSL-Win64\bin' I would guess that this works

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Pascal Jasmin
2014 7:52:02 PM Subject: Re: [Jprogramming] An RSA encryption implementation Perhaps my issue is that I am using the cygwin64 openssl? Binary interfaces are notoriously fussy. Thanks, -- Raul On Tue, Jan 28, 2014 at 7:45 PM, Raul Miller wrote: > They do have the double quotes in place, both

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Raul Miller
' >> >> also, if you get that error, you would have seen smoutput/pD on screen from >> previous line. A boxed list that is the result of spawn, and should contain >> the key data, but if openssl has any error, it will contain those errors >> (.cfg file not f

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Raul Miller
t; >>'d n'=: 'mruJfgd0RG' newandgetrsa 'pascaljasmin.txt' >> >> >> >> |index error: nkec >> | privh=.,>}:^:(':'={:)each(#~0,@:-.@:=$&>),;:>2 3 4{l >> >> >> I am also wondering ab

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Pascal Jasmin
ill contain those errors (.cfg file not found can be ignored_ - Original Message - From: Raul Miller To: Programming forum Cc: Sent: Tuesday, January 28, 2014 5:01:39 PM Subject: Re: [Jprogramming] An RSA encryption implementation I changed my initial require statement to be:    requi

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Pascal Jasmin
#x27;d n'=: 'mruJfgd0RG' newandgetrsa 'C:\path that exists\ spaces >ok\pascaljasmin' > > > in the calls to openssl, many files are created.  There needs to be a full > path because some further files are created outside of openssl calls.  > Callin

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Raul Miller
to be a full > path because some further files are created outside of openssl calls. > Calling with a: will put files in '~system' that are extremely unlikely to > exist. > > > ----- Original Message - > From: Raul Miller > To: Programming forum > Cc: &

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Pascal Jasmin
, or at least can with upto 768bit long > keys.  (earlier Problem was unrelated to j32.  fixed in listing) > > > > > - Original Message - > From: Raul Miller > To: Programming forum > Cc: > Sent: Tuesday, January 28, 2014 9:02:54 AM > Subject: Re: [Jpro

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Raul Miller
to j32. fixed in listing) > > > > > - Original Message - > From: Raul Miller > To: Programming forum > Cc: > Sent: Tuesday, January 28, 2014 9:02:54 AM > Subject: Re: [Jprogramming] An RSA encryption implementation > > you are missing a require s

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Pascal Jasmin
- From: Raul Miller To: Programming forum 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

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Raul Miller
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 wrote: > J has been able to encrypt/decrypt (verify/sign) rsa signatures for some

Re: [Jprogramming] An RSA encryption implementation

2014-01-28 Thread Pascal Jasmin
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 s