I'll try to get rsa.pas...
-Original Message-
From: denstar [mailto:valliants...@gmail.com]
Sent: March-19-11 10:09 PM
To: cf-talk
Subject: Re: Old School CFX (TextCrypt) and RSA Encryption
LOL! Life is too short to not get excited whenever one gets a chance.
It's the little
The raw data seems to work:
That is the point I was at before with the original base64 strings. Decoding
and encrypting *seemed* to work, but the final results did not match. I tried
several angles, but still no joy.
I do not know what tool you used to test your changes to the delphi demo
LOL! Life is too short to not get excited whenever one gets a chance.
It's the little victories that get me through the days. :-)
Heh. Funny you should mention class loaders. Spent the last like 20
hours dicking around with this crazy classloader problem with embedded
jetty. I'd think
On Thu, Mar 17, 2011 at 11:52 PM, Leigh wrote:
Cool. I was trying to play around with it, but did not get that far ;-)
So that is a hex representation of the 512 bit
RSA public key. Theoretically.
Could you print the modulus and exponent parts of the public key separately?
That is what
of that Delphi component is nowhere to be found...
Brook
-Original Message-
From: denstar [mailto:valliants...@gmail.com]
Sent: March-18-11 2:34 PM
To: cf-talk
Subject: Re: Old School CFX (TextCrypt) and RSA Encryption
On Thu, Mar 17, 2011 at 11:52 PM, Leigh wrote:
Cool. I was trying
@denstar - ROFL. As I often think when reading your responses, you are a
talented but strange dude ;-) (I mean who in their right mind would say they
actually *like* class loader issues? ;-)
-Leigh
~|
Order the
if
they figure anything out!
Brook
-Original Message-
From: denstar [mailto:valliants...@gmail.com]
Sent: March-16-11 2:45 PM
To: cf-talk
Subject: Re: Old School CFX (TextCrypt) and RSA Encryption
I played with this a little bit last night, just because I loves me a
challenge like
on Odesk, and I'll let you know if
they figure anything out!
Brook
-Original Message-
From: denstar [mailto:valliants...@gmail.com]
Sent: March-16-11 2:45 PM
To: cf-talk
Subject: Re: Old School CFX (TextCrypt) and RSA Encryption
I played with this a little bit last night, just
This here is the output from that function for the public
key:
You lost me ;-) Which function and what value(s) does that string represent?
-Leigh
~|
Order the Adobe Coldfusion Anthology now!
On Thu, Mar 17, 2011 at 10:56 PM, Leigh wrote:
This here is the output from that function for the public
key:
You lost me ;-) Which function and what value(s) does that string represent?
LOL :) Sorry.
That is the output from the delphi function he posted.
TfrmRSATest.btnGetPrivKeyClick
Cool. I was trying to play around with it, but did not get that far ;-)
So that is a hex representation of the 512 bit
RSA public key. Theoretically.
Could you print the modulus and exponent parts of the public key separately?
That is what is needed for cf/java.
I am still trying to
If I can get in touch with them, what should I
ask? Just how
they are encoding the keys I guess?
Yes. From the previous description it sounds like they are just base64 encoding
the bytes of the public key parts (exponent and modulus). Then concatenating
the results. In cf/java it would be
In cf/java it would be something like ...
Whoops, I hit send too soon. I was going to add: but reversing those steps with
the TextCrypt string does not yield the correct results. Hopefully that example
might help the author see what we are missing or what additional steps are
needed to
I played with this a little bit last night, just because I loves me a
challenge like this, but didn't really get anywhere.
Aren't they inverting the words when doing the hex conversion? Did
you try that too?
Seems like the solution is right there, but I didn't solve it. =/
Brook, if you can
There may be some other jiggery pokery going on however, ...
so I would imagine that you may have to pad the start or
end with null characters to
get the full 512 bits.
I could be wrong, but it seems like there is more going on than just a simple
split, pad with nulls, then base64 decode
and the binary keys
themselves are base64 encoded.
Also, are they using the same base64 encoding as in CF? I believe there are a
few variants.
~|
Order the Adobe Coldfusion Anthology now!
[mailto:cfsearch...@yahoo.com]
Sent: March-15-11 2:21 AM
To: cf-talk
Subject: Re: Old School CFX (TextCrypt) and RSA Encryption
There may be some other jiggery pokery going on however, ...
so I would imagine that you may have to pad the start or end with null
characters to get the full 512 bits.
I
That makes sense. The problem is I cannot quite see how to successfully decode
their values from base64. I can see the first part looks like the exponent and
the second the modulus.
exponent: ++11Ik
modulus:
To: cf-talk
Subject: RE: Old School CFX (TextCrypt) and RSA Encryption
That makes sense. The problem is I cannot quite see how to successfully
decode their values from base64. I can see the first part looks like the
exponent and the second the modulus.
exponent: ++11Ik
modulus:
kyC6iOY9TyHww-HX
Hey all,
We're moving away from a really old CFC (textCrypt) from PerthWeb that we
have been using for years to generate RSA public/private key pairs and do
encryption/decryption. The CFX doesn't play well with CF9 64 Bit and I
wanted to use the native Java encryption abilities.
I've
20 matches
Mail list logo