Author Topic: New RSA Algorithm discussion  (Read 65448 times)

0 Members and 2 Guests are viewing this topic.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: New RSA Algorithm discussion
« Reply #60 on: July 28, 2010, 07:53:35 pm »
Kinda off-topic, btw.

Anyway, I'm busy, but I'm still working on an algorithm.  Do y'all have any observations on the relationship between semiprimes and their two prime factors?

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: New RSA Algorithm discussion
« Reply #61 on: August 03, 2010, 04:50:32 pm »
If we were to solve this diophantine equation, we would easily have the roots of n:
xy+x(x-1)=n
x2+xy-x=n
with y=0, it is simply the square root of n+x.
y=1 always gives the square root of n.
y=2 always gives the square root of n-x.
y=3 always gives the square root of

Now then, assume that f(x)=x2+xy-x=n.  Let us try n=221 first.  It's factors are p=13 and q=17, where pq=221=n.  Now, f(p)=n and f(q)=n.  In f(x), there is a y variable.  With f(p), y=(q-p+1), and with f(q), y=(p-q+1) So the question is, how to solve it as a diophantine equation.

Anyone have any experience with diophantine equations? (Please don't post links to wikipedia)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: New RSA Algorithm discussion
« Reply #62 on: September 08, 2010, 09:17:56 pm »
Hey, is there any way to take the various OS versions and compare their hashes to find the key?

We have access to about 9 (i think) Os versions, so there's lots of hashes to compare. Even small portions of the key would be extremely valuable.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: New RSA Algorithm discussion
« Reply #64 on: September 08, 2010, 09:43:47 pm »
yes, but it isn't applicable :(
The Nspire's have the public key, but we need the private key, which is what TI has and won't give to us :P
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: New RSA Algorithm discussion
« Reply #65 on: September 08, 2010, 09:46:31 pm »
oh, sry then, my bad..


Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: New RSA Algorithm discussion
« Reply #66 on: September 08, 2010, 09:55:39 pm »
yeah, we don't need to starve the CPU for that key. We already have it from rom dumps.

Question: does anyone know how much the OS code actually changes from version to version? If it's not much, just stuff added on to the existing code (def. not from 1.7 to 2.0, but maybe from 1.4 to 1.6 or 2.0 to 2.1?)

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: New RSA Algorithm discussion
« Reply #67 on: September 09, 2010, 06:01:30 pm »
We can't use the hashes to find the private key.  I believe, that this is because of how a signature works.  Anyway, I'm gonna go look up how they sign it.  I think it's just encryption of the MD5 hash, with the private key, and that might allow some Chinese remainder magic, but I don't know.  We would have to know how the hashes are made in the first place.  EG, over what data is the hash made.

Anyway, I still think that the best way to do it is to factor the numbers.

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: New RSA Algorithm discussion
« Reply #68 on: October 02, 2010, 10:08:34 pm »
hey.. so about rsa keys, how would I encrypt something myself? I use openssl right? I got ubuntu on vmware player so i can use any ubuntu app if i need to..
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: New RSA Algorithm discussion
« Reply #69 on: October 02, 2010, 10:17:08 pm »
If you have oppenssl, then this page can help here

If you have any more questions, feel free to ask.

Offline kyllopardiun

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 178
  • Rating: +14/-4
  • Kyllopardiun over 2000 results in google.
    • View Profile
    • Kyllo's blog (a blog about poetry, videos and computing)
Re: New RSA Algorithm discussion
« Reply #70 on: October 16, 2010, 02:17:59 pm »
What about distributed computing?

I mean like rainbow crack...
it could not be very fast, but the concept of softwares like seti@home
can do a lot of things in some amount of time that you won't be able to do alone.

Think, with the help of let me say 50 users using something to factor just a part of it and then sending the progress back for continue the work.

With all these, we won't get the RSA keys quickly, but possibly in a 4 month work it will be able for everyone.
« Last Edit: October 16, 2010, 02:46:29 pm by kyllopardiun »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: New RSA Algorithm discussion
« Reply #71 on: October 17, 2010, 05:40:33 am »
We've already had lots of talk about factoring the key, in another topic (but it's understandable that you missed it: there's lots of activity on the forum, and that is a good thing): http://ourl.ca/6236 :)

I have summarized multiple times how impractical the factorization is (unless some ground-breaking algorithm comes to the rescue, which we should not hold our breath on): basically, three orders of magnitude harder than the state of the art.
A linear extrapolation of the figures given in the paper detailing the factorization of RSA-768, consistent with what we know of 512-bit RSA factoring, gives the need of sifting through 10000-100000 TB (yes, I really mean terabytes) of data, after those have been produced by several dozen thousands of computers running for years (or ten times as many computers, running for one tenth of the time).
This does not, however, mean that we can't spend up to several CPU-years trying to find a factor by Trial Factoring (beyond that would not be reasonable): it's extremely unlikely that we'll succeed by sifting through a search space which represents an vanishingly small part of a particle, compared to the whole universe - but such is the beauty of random.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: New RSA Algorithm discussion
« Reply #72 on: October 17, 2010, 08:07:16 am »
Which is the reason this topic is here. To explain rsa and find a new algorithm.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: New RSA Algorithm discussion
« Reply #73 on: October 17, 2010, 09:40:26 am »
No argument there ;)
I was just explaining him that distributed computing probably wouldn't help enough for the factorization to become practical, with the current algorithms :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: New RSA Algorithm discussion
« Reply #74 on: October 17, 2010, 09:52:14 am »
With current algorithms, it would require so much Time and computational power that it wouldn't be feasible.  That is why I like recursive algorithms that run in log n time. ;-)