Main Page | Report this Page
 
   
Science Forum Index  »  Cognitive Science Forum  »  Moving to RSA encryption
Page 1 of 2    Goto page 1, 2  Next
Author Message
James Harris
Posted: Wed Nov 26, 2003 9:44 am
Guest
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

I came across a new idea that I'd like to mention that might be
fruitful.

Consider 119=7(17), and of course I use small numbers to search for
new ideas, as they're easier to work with than the monster numbers
that are the ultimate targets.

Now it can be shown by finding the first cube above 119, which is 125
that

5 = 6^{1/3} mod 17, or mod 7

but a quick search reveals that

8 = 36^{1/3} mod 17, or mod 7

so

8 = 25 mod 17

which gives the factor. The problem is, it looks a lot like chance,
and some quick tries with bigger numbers didn't get me much. But I've
expanded the way I search and it looks more promising.

It's probably a crap idea, but as usual, I'll toss it out on the
Internet.

I'm including my search program. It's set up for 119, but an RSA
number is commented out, so it's included. I've looked at cubics, but
you can use any positive integer root, so maybe there's something at 7
or 13, as oh yeah, you need to take odd roots.

I'll get back to trying to crack RSA. It amazed me that because
mathematicians are such assholes that I have to try and break down
Internet security to get anywhere. Oh well, it's not my fault.


James Harris

--------------------------------------

import java.math.*;

public class nFactor {

/** Creates a new instance of Class */
public nFactor() {
}



//5730672984869888900274730318781719609808548531129165133742
//5730672984869888900274730318781719609808548531129165133742
//4540136492434944450137365159390859804904274265564582566870

//153378132779989193216455437722534173090985737609039529110918464264806557491425997483481
// 88552906248328924208004706131630635367429108561906823692830976199839891421107459645696

static BigInteger prevr, r, BigK;

static private int count, next, next2;

static public void main(String args[]){

r = new BigInteger("100000000000000");

BigInteger RSA=new BigInteger("119");//"188198812920607963838697239461650439807163563379417382700763356422988859715234665485319060606504743045317388011303396716199692321205734031879550656996221305168759307650257059");

BigInteger base, remainder, mRSA, nRSA;

BigInteger hold, compare, check, mult=BigInteger.ONE;

int t=3;

for (int k=1; k<100; k++){

nRSA = RSA.multiply(mult);

base = rootCalc(nRSA, t).add(BigInteger.ONE);

mult = mult.add(BigInteger.ONE);

remainder = (base.pow(t)).subtract(nRSA);

for (int j=mult.intValue()+1; j<200; j++){

mRSA = RSA.multiply(BigInteger.valueOf(j));

hold = rootCalc(mRSA,t).add(BigInteger.ONE);

compare = (hold.pow(t)).subtract(mRSA);

check = compare.mod(remainder);

if (check.compareTo(BigInteger.ZERO)==0){

System.out.println("found it");

System.out.println("hold="+hold);
System.out.println("base="+base);

System.out.println("remainder="+remainder);
System.out.println("compare="+compare);

BigInteger result=compare.divide(remainder);
System.out.println("compare/remainder="+result);

System.out.println("j="+j);
System.out.println("k="+k);

System.out.println("");

}
}
}


System.out.println("done");


//System.out.println(RSA);


}

private static boolean isEven(int x){

if (x%2==0) return true;
else return false;
}

private static BigInteger SqCalc(BigInteger z){

for (int count=0; count<512; count++){

prevr = ((z.divide(r)).add(r)).shiftRight(1);

if (prevr.compareTo(r)==0){

return r;
}

r=prevr;

}

System.out.println("Exceeded count square root may be
invalid.");
System.out.println("z="+z);
System.out.println("r="+r);

return r;

}

private static BigInteger rootCalc(BigInteger z, int k){


BigK = BigInteger.valueOf(k);

for (int iter=0; iter<1024; iter++){

prevr =
r.subtract(((r.pow(k)).subtract(z)).divide((r.pow(k-1)).multiply(BigK)));


if (prevr.compareTo(r)==0){

r = (((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k-1)).multiply(BigK)));
r = (((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k-1)).multiply(BigK)));

return r;
}

r=prevr;

}

System.out.println("Exceeded count root calc may be
invalid.");
System.out.println("z="+z);

r = (((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k-1)).multiply(BigK)));
r = (((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k-1)).multiply(BigK)));

System.out.println("r="+r);

return r;

}



}
Wolf Kirchmeir
Posted: Wed Nov 26, 2003 9:44 am
Guest
On Wed, 26 Nov 2003 15:21:41 GMT, Dik T. Winter wrote:

Quote:
This comes pretty close to the method Fermat used. (Find two squares whose
difference is 0 mod the number to be factored.) I would think working with
squares is faster. But Fermat's method has been improved considerably to
the multiple quadratic sieve method, which works reasonably well for numbers
up to (say) 150 digits. The current method is the number field sieve, which
is similar to the quadratic sieve method, but works in different number
fields. It would do you good to delve into the methods currently used
before you go the long path from Fermat's method to the current methods.
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/

Dik, you're too kind, offering help like that. James will take it as
criticism - IOW, he will claim you are an asshole for not recognising that
he's a genius to have thought of this method without reading up on it first.

Besides, since it's "close" to Fermat's method, but not the same, it's
obviously original, and James will expect accolades and tons of money for
finding it. Even if it's no improvement on existing methods.

Heh heh

--
Wolf Kirchmeir, Blind River ON Canada
"Nature does not deal in rewards or punishments, but only in consequences."
(Robert Ingersoll)
flip
Posted: Wed Nov 26, 2003 10:19 am
Guest
"James Harris" <jstevh@msn.com> wrote in message
news:3c65f87.0311260644.75a011d6@posting.google.com...
Quote:
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
[.snip]
I'll get back to trying to crack RSA. It amazed me that because
mathematicians are such assholes that I have to try and break down
Internet security to get anywhere. Oh well, it's not my fault.


Ah Mr. Harris, name calling once again, so colorful during the holidays!
Are you a real-life scrooge?

If you want fame and fortune, then break the RSA factoring challenge and you
will get both.

You can find it at: http://www.rsasecurity.com/rsalabs/challenges/factoring/

Here is a summary:

RSA Laboratories continues its sponsorship of the RSA Factoring Challenge to
encourage research into computational number theory and the practical
difficulty of factoring large integers. The information received during this
challenge is a valuable resource to the cryptographic community and can be
helpful for users of the RSA public-key cryptosystem in choosing suitable
key lengths for an appropriate level of security.

Quote:
RSA-160 is factored!
RSA-155 is factored!
RSA-140 is factored!

The RSA Challenge numbers are the kind we believe to be the hardest to
factor; these numbers should be particularly challenging. These are the kind
of numbers used in devising secure RSA cryptosystems.

A cash prize is awarded to the first person to factor each challenge number.
The prize amount is listed on the page with the challenge number. Prizes
range from $10,000 (US) for the 576-bit challenge to $200,000 for 2048 bits.
The prize money will be paid once RSA Laboratories has verified the
correctness of the factorization.

Here is the set of numbers:

http://www.rsasecurity.com/rsalabs/challenges/factoring/numbers.html

Simple problems to state: find the distinct prime factors of each challenge
number.

See if can be beat us instead of name-calling and generalizing all of us you
NPD afflicted ignoramus!
Dik T. Winter
Posted: Wed Nov 26, 2003 10:21 am
Guest
In article <3c65f87.0311260644.75a011d6@posting.google.com> jstevh@msn.com (James Harris) writes:
Quote:
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

I came across a new idea that I'd like to mention that might be
fruitful.

Consider 119=7(17), and of course I use small numbers to search for
new ideas, as they're easier to work with than the monster numbers
that are the ultimate targets.

Now it can be shown by finding the first cube above 119, which is 125
that

5 = 6^{1/3} mod 17, or mod 7

but a quick search reveals that

8 = 36^{1/3} mod 17, or mod 7

so

8 = 25 mod 17

which gives the factor.

This comes pretty close to the method Fermat used. (Find two squares whose
difference is 0 mod the number to be factored.) I would think working with
squares is faster. But Fermat's method has been improved considerably to
the multiple quadratic sieve method, which works reasonably well for numbers
up to (say) 150 digits. The current method is the number field sieve, which
is similar to the quadratic sieve method, but works in different number
fields. It would do you good to delve into the methods currently used
before you go the long path from Fermat's method to the current methods.
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
Sam Wormley
Posted: Wed Nov 26, 2003 10:38 am
Guest
James Harris wrote:
Quote:

I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.


At least you won't be spamming USENET news from jail!
Robert J. Kolker
Posted: Wed Nov 26, 2003 10:42 am
Guest
James Harris wrote:

Quote:
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

That is right. And for that reason I will bet you fail miserably. But,
at least, you have named a good test.

Bob Kolker
David Moran
Posted: Wed Nov 26, 2003 11:35 am
Guest
"Sam Wormley" <swormley1@mchsi.com> wrote in message
news:3FC4C8F7.9E95AFF5@mchsi.com...
Quote:
James Harris wrote:

I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.


At least you won't be spamming USENET news from jail!

Well, maybe then he'll have time to learn some math!
Lester Zick
Posted: Wed Nov 26, 2003 11:47 am
Guest
On Wed, 26 Nov 2003 15:21:41 GMT, "Dik T. Winter" <Dik.Winter@cwi.nl>
in sci.cognitive wrote:

Quote:
In article <3c65f87.0311260644.75a011d6@posting.google.com> jstevh@msn.com (James Harris) writes:
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

I came across a new idea that I'd like to mention that might be
fruitful.

Consider 119=7(17), and of course I use small numbers to search for
new ideas, as they're easier to work with than the monster numbers
that are the ultimate targets.

Now it can be shown by finding the first cube above 119, which is 125
that

5 = 6^{1/3} mod 17, or mod 7

but a quick search reveals that

8 = 36^{1/3} mod 17, or mod 7

so

8 = 25 mod 17

which gives the factor.

This comes pretty close to the method Fermat used. (Find two squares whose
difference is 0 mod the number to be factored.) I would think working with
squares is faster.

This turns out to be incorrect in my own rather limited amateur
experience. I have programmed a number of algorithms along this line
and have produced none as fast as serial division by successive odd
numbers. One problem for really large integers is that one has to work
with squares. But as I say I don't claim to be a mathematician and
certainly don't have any but an amateur's understanding of the field.

Quote:
But Fermat's method has been improved considerably to
the multiple quadratic sieve method, which works reasonably well for numbers
up to (say) 150 digits. The current method is the number field sieve, which
is similar to the quadratic sieve method, but works in different number
fields. It would do you good to delve into the methods currently used
before you go the long path from Fermat's method to the current methods.
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/



Regards - Lester
Uncle Al
Posted: Wed Nov 26, 2003 12:14 pm
Guest
James Harris wrote:
Quote:

I'm in a desperate situation.

No more desperate than any inmate of a State institution for the
boringly insane.

Quote:
I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.

Not ignored, but vigorously reviled for being an irremediable idiot.
If empirical reality calls you an ass, then you are an empirical ass.
Uncle Al quotes Thomas Wasell:

Quote:
Are we playing "Smother James with Prime Counting Methods Until he
SCREEMS"? Can I join?

First a slight modification of Abigail's Perl one-liner
to make it a prime counter, rather than a prime lister:

perl -le 'print~~grep!/^(xx+)\1+$/,map x x$_,2..pop' [number]

And now my Magnum Opus! Let

W(2) = 1
W(k) = ((k-1)^2 * W(k-1) + 2)/k - 1 for k > 2

Then

pi(n) = Sum for k = 2 to n: 1 - ceil(W(k) - floor(W(k)))

Same thing in Maple code:

W := k -> ((k-1)^2 * W(k-1) + 2)/k - 1:
W(2) := 1:
pi := n -> sum('1 - ceil(W(k) - floor(W(k)))', 'k'=2..n):

Lo and behold! pi(100) gives 25!

So, where can I collect my trillions of dollars? And the babes! Let's not
forget the babes! Where can I get some of those?

Hey stooopid Harris, do you think that by trolling enough of this this
trash you will one day get a thread into Google Groups wherein you are
not squashed like a stink bug in counterpoint? To do that you would
have to post something valid.

Quote:
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

You aren't adept with the English language. A man who cannot write a
paragraph cannot think one.

Quote:
So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

You do that and demonstrate the result. Ha ha ha. Look up the
following: eunuch, capon, steer, stot, gelding, gelt, havier, gib,
lapin, seg, hog, wether...

Hey stooopid Harris, there are claims that mere PKZIP encryption can
be broken using a known uncoded/encoded block of contained text in the
target encryption. Examples work beautifully, only failing in real
world application. HA HA HA.

Why are you trolling sci.cognitive, stooopid Harris? Did
k12.ed.special whack your pee-pee?

[snip]

--
Uncle Al
http://www.mazepath.com/uncleal/
(Toxic URL! Unsafe for children and most mammals)
"Quis custodiet ipsos custodes?" The Net!
Uncle Al
Posted: Wed Nov 26, 2003 12:31 pm
Guest
flip wrote:
Quote:

"James Harris" <jstevh@msn.com> wrote in message
news:3c65f87.0311260644.75a011d6@posting.google.com...
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
[.snip]
I'll get back to trying to crack RSA. It amazed me that because
mathematicians are such assholes that I have to try and break down
Internet security to get anywhere. Oh well, it's not my fault.


Ah Mr. Harris, name calling once again, so colorful during the holidays!
Are you a real-life scrooge?

If you want fame and fortune, then break the RSA factoring challenge and you
will get both.

You can find it at: http://www.rsasecurity.com/rsalabs/challenges/factoring/
[snip]


Quote:
A cash prize is awarded to the first person to factor each challenge number.
The prize amount is listed on the page with the challenge number. Prizes
range from $10,000 (US) for the 576-bit challenge to $200,000 for 2048 bits.
The prize money will be paid once RSA Laboratories has verified the
correctness of the factorization.

Here is the set of numbers:

http://www.rsasecurity.com/rsalabs/challenges/factoring/numbers.html

Simple problems to state: find the distinct prime factors of each challenge
number.

See if can be beat us instead of name-calling and generalizing all of us you
NPD afflicted ignoramus!

A fellow with an idiot-savant miracle calculator friend could really
clean up! Let's see if Harris, an idiot, can demonstrate the gained
efficacy of downsizing. One need only have a table of primes smaller
than the square root of each RSA number, trivially toss impossible
binary product last digits, and zoom in on the answer. Surely Harris
and his advanced mathematics can process a mere list for $10,000 cash
on the barrelhead - or a "slightly" longer list for $200,000!

Barbie says, "Square-roots are easy!"

--
Uncle Al
http://www.mazepath.com/uncleal/
(Toxic URL! Unsafe for children and most mammals)
"Quis custodiet ipsos custodes?" The Net!
Brian Smith
Posted: Wed Nov 26, 2003 1:44 pm
Guest
jstevh@msn.com (James Harris) wrote in message news:<3c65f87.0311260644.75a011d6@posting.google.com>...
Quote:
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

I came across a new idea that I'd like to mention that might be
fruitful.


Its not a new idea, but it is a good one.

Quote:
Consider 119=7(17), and of course I use small numbers to search for
new ideas, as they're easier to work with than the monster numbers
that are the ultimate targets.

Now it can be shown by finding the first cube above 119, which is 125
that

5 = 6^{1/3} mod 17, or mod 7

but a quick search reveals that

8 = 36^{1/3} mod 17, or mod 7

so

8 = 25 mod 17

which gives the factor. The problem is, it looks a lot like chance,
and some quick tries with bigger numbers didn't get me much. But I've
expanded the way I search and it looks more promising.


How much computing power do you have access to? The defeated
challenges required hundreds of computers working together and still
took months to crack.

Quote:
It's probably a crap idea, but as usual, I'll toss it out on the
Internet.

I'm including my search program. It's set up for 119, but an RSA
number is commented out, so it's included. I've looked at cubics, but
you can use any positive integer root, so maybe there's something at 7
or 13, as oh yeah, you need to take odd roots.

I'll get back to trying to crack RSA. It amazed me that because
mathematicians are such assholes that I have to try and break down
Internet security to get anywhere. Oh well, it's not my fault.


It is your fault. In almost every one of your posts you insult
mathematicians. Calling them "assholes" will never help.

Quote:

James Harris



Java is too slow for the RSA challenge. Use C or C++, or if possible,
write it all in assembly code, but make sure to document it.

[java program snipped]
Justin Van Winkle
Posted: Wed Nov 26, 2003 3:22 pm
Guest
Here's an embarrassing fact:

I took a look at the shortest RSA challenge, and thought, "that doesn't look
TOO big". In high school I wrote a c program that could calculate all the
primes less than 1 billion in about 30 seconds. So let's do a little math.

As an idiot, the best method I personally know how to code is a sort of
seive. So to factor the RSA challenge problem, it would take my computer
(not adjusted for the fact that my simple program would quickly choke since
it uses long int) about:
(the square root of the smallest RSA problem number is about 1.4 * 10^87)

(30 sec / 1 billion) * (1 / 1.4*10^87) * (min / 60 sec) * (hour / 60 min) *
(day / 24 hour) * (year / 365 days)

or about: 1.33 * 10^72 YEARS

think how much the money will be worth when I finally finish! with all the
interest (5%/year) , it will be:
(accourding to maple) 10000*1.05^(1.33*10^72);

Float(infinity)

Easily making me the richest person in the usualverse.

Justin Van Winkle


"James Harris" <jstevh@msn.com> wrote in message
news:3c65f87.0311260644.75a011d6@posting.google.com...
Quote:
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

I came across a new idea that I'd like to mention that might be
fruitful.

Consider 119=7(17), and of course I use small numbers to search for
new ideas, as they're easier to work with than the monster numbers
that are the ultimate targets.

Now it can be shown by finding the first cube above 119, which is 125
that

5 = 6^{1/3} mod 17, or mod 7

but a quick search reveals that

8 = 36^{1/3} mod 17, or mod 7

so

8 = 25 mod 17

which gives the factor. The problem is, it looks a lot like chance,
and some quick tries with bigger numbers didn't get me much. But I've
expanded the way I search and it looks more promising.

It's probably a crap idea, but as usual, I'll toss it out on the
Internet.

I'm including my search program. It's set up for 119, but an RSA
number is commented out, so it's included. I've looked at cubics, but
you can use any positive integer root, so maybe there's something at 7
or 13, as oh yeah, you need to take odd roots.

I'll get back to trying to crack RSA. It amazed me that because
mathematicians are such assholes that I have to try and break down
Internet security to get anywhere. Oh well, it's not my fault.


James Harris

--------------------------------------

import java.math.*;

public class nFactor {

/** Creates a new instance of Class */
public nFactor() {
}



//5730672984869888900274730318781719609808548531129165133742
//5730672984869888900274730318781719609808548531129165133742
//4540136492434944450137365159390859804904274265564582566870


//15337813277998919321645543772253417309098573760903952911091846426480655749

1425997483481
Quote:
//
8855290624832892420800470613163063536742910856190682369283097619983989142110

7459645696
Quote:

static BigInteger prevr, r, BigK;

static private int count, next, next2;

static public void main(String args[]){

r = new BigInteger("100000000000000");

BigInteger RSA=new
BigInteger("119");//"1881988129206079638386972394616504398071635633794173827

0076335642298885971523466548531906060650474304531738801130339671619969232120
5734031879550656996221305168759307650257059");
Quote:

BigInteger base, remainder, mRSA, nRSA;

BigInteger hold, compare, check, mult=BigInteger.ONE;

int t=3;

for (int k=1; k<100; k++){

nRSA = RSA.multiply(mult);

base = rootCalc(nRSA, t).add(BigInteger.ONE);

mult = mult.add(BigInteger.ONE);

remainder = (base.pow(t)).subtract(nRSA);

for (int j=mult.intValue()+1; j<200; j++){

mRSA = RSA.multiply(BigInteger.valueOf(j));

hold = rootCalc(mRSA,t).add(BigInteger.ONE);

compare = (hold.pow(t)).subtract(mRSA);

check = compare.mod(remainder);

if (check.compareTo(BigInteger.ZERO)==0){

System.out.println("found it");

System.out.println("hold="+hold);
System.out.println("base="+base);

System.out.println("remainder="+remainder);
System.out.println("compare="+compare);

BigInteger result=compare.divide(remainder);
System.out.println("compare/remainder="+result);

System.out.println("j="+j);
System.out.println("k="+k);

System.out.println("");

}
}
}


System.out.println("done");


//System.out.println(RSA);


}

private static boolean isEven(int x){

if (x%2==0) return true;
else return false;
}

private static BigInteger SqCalc(BigInteger z){

for (int count=0; count<512; count++){

prevr = ((z.divide(r)).add(r)).shiftRight(1);

if (prevr.compareTo(r)==0){

return r;
}

r=prevr;

}

System.out.println("Exceeded count square root may be
invalid.");
System.out.println("z="+z);
System.out.println("r="+r);

return r;

}

private static BigInteger rootCalc(BigInteger z, int k){


BigK = BigInteger.valueOf(k);

for (int iter=0; iter<1024; iter++){

prevr =
r.subtract(((r.pow(k)).subtract(z)).divide((r.pow(k-1)).multiply(BigK)));


if (prevr.compareTo(r)==0){

r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:
r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:

return r;
}

r=prevr;

}

System.out.println("Exceeded count root calc may be
invalid.");
System.out.println("z="+z);

r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:
r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:

System.out.println("r="+r);

return r;

}



}
David C. Ullrich
Posted: Wed Nov 26, 2003 5:14 pm
Guest
On 26 Nov 2003 06:44:34 -0800, jstevh@msn.com (James Harris) wrote:

Quote:
[...]

It's probably a crap idea, but as usual, I'll toss it out on the
Internet.

If only you... never mind, this one is _much_ too easy.

Quote:
I'm including my search program. It's set up for 119, but an RSA
number is commented out, so it's included. I've looked at cubics, but
you can use any positive integer root, so maybe there's something at 7
or 13, as oh yeah, you need to take odd roots.

I'll get back to trying to crack RSA. It amazed me that because
mathematicians are such assholes that I have to try and break down
Internet security to get anywhere. Oh well, it's not my fault.

Right. I bet when you succeed the Internet is gonna be pretty pissed
at us mathematicians for being such assholes that you were forced
to crack RSA.

Guffaw.



David C. Ullrich
Mark Burlingame
Posted: Wed Nov 26, 2003 10:19 pm
Guest
I take back everything I've said.
I just realized the fact that you are so gifted that you will probably die a
young desperate man before your contributions are recognized is proof that
you _are_ a _real_ mathematician

MB
"James Harris" <jstevh@msn.com> wrote in message
news:3c65f87.0311260644.75a011d6@posting.google.com...
Quote:
I'm in a desperate situation. I have "pure math" results which should
get me accolades but instead I'm called names and mostly ignored.
Before I've tried to break RSA encryption--the basis for Internet
security--and failed miserably, but it looks like I still have no
choice but a practical math result.

So I'm back at it. If I break RSA then there won't be any debates
about the value of my work, or its correctness.

I came across a new idea that I'd like to mention that might be
fruitful.

Consider 119=7(17), and of course I use small numbers to search for
new ideas, as they're easier to work with than the monster numbers
that are the ultimate targets.

Now it can be shown by finding the first cube above 119, which is 125
that

5 = 6^{1/3} mod 17, or mod 7

but a quick search reveals that

8 = 36^{1/3} mod 17, or mod 7

so

8 = 25 mod 17

which gives the factor. The problem is, it looks a lot like chance,
and some quick tries with bigger numbers didn't get me much. But I've
expanded the way I search and it looks more promising.

It's probably a crap idea, but as usual, I'll toss it out on the
Internet.

I'm including my search program. It's set up for 119, but an RSA
number is commented out, so it's included. I've looked at cubics, but
you can use any positive integer root, so maybe there's something at 7
or 13, as oh yeah, you need to take odd roots.

I'll get back to trying to crack RSA. It amazed me that because
mathematicians are such assholes that I have to try and break down
Internet security to get anywhere. Oh well, it's not my fault.


James Harris

--------------------------------------

import java.math.*;

public class nFactor {

/** Creates a new instance of Class */
public nFactor() {
}



//5730672984869888900274730318781719609808548531129165133742
//5730672984869888900274730318781719609808548531129165133742
//4540136492434944450137365159390859804904274265564582566870


//15337813277998919321645543772253417309098573760903952911091846426480655749

1425997483481
Quote:
//
8855290624832892420800470613163063536742910856190682369283097619983989142110

7459645696
Quote:

static BigInteger prevr, r, BigK;

static private int count, next, next2;

static public void main(String args[]){

r = new BigInteger("100000000000000");

BigInteger RSA=new
BigInteger("119");//"1881988129206079638386972394616504398071635633794173827

0076335642298885971523466548531906060650474304531738801130339671619969232120
5734031879550656996221305168759307650257059");
Quote:

BigInteger base, remainder, mRSA, nRSA;

BigInteger hold, compare, check, mult=BigInteger.ONE;

int t=3;

for (int k=1; k<100; k++){

nRSA = RSA.multiply(mult);

base = rootCalc(nRSA, t).add(BigInteger.ONE);

mult = mult.add(BigInteger.ONE);

remainder = (base.pow(t)).subtract(nRSA);

for (int j=mult.intValue()+1; j<200; j++){

mRSA = RSA.multiply(BigInteger.valueOf(j));

hold = rootCalc(mRSA,t).add(BigInteger.ONE);

compare = (hold.pow(t)).subtract(mRSA);

check = compare.mod(remainder);

if (check.compareTo(BigInteger.ZERO)==0){

System.out.println("found it");

System.out.println("hold="+hold);
System.out.println("base="+base);

System.out.println("remainder="+remainder);
System.out.println("compare="+compare);

BigInteger result=compare.divide(remainder);
System.out.println("compare/remainder="+result);

System.out.println("j="+j);
System.out.println("k="+k);

System.out.println("");

}
}
}


System.out.println("done");


//System.out.println(RSA);


}

private static boolean isEven(int x){

if (x%2==0) return true;
else return false;
}

private static BigInteger SqCalc(BigInteger z){

for (int count=0; count<512; count++){

prevr = ((z.divide(r)).add(r)).shiftRight(1);

if (prevr.compareTo(r)==0){

return r;
}

r=prevr;

}

System.out.println("Exceeded count square root may be
invalid.");
System.out.println("z="+z);
System.out.println("r="+r);

return r;

}

private static BigInteger rootCalc(BigInteger z, int k){


BigK = BigInteger.valueOf(k);

for (int iter=0; iter<1024; iter++){

prevr =
r.subtract(((r.pow(k)).subtract(z)).divide((r.pow(k-1)).multiply(BigK)));


if (prevr.compareTo(r)==0){

r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:
r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:

return r;
}

r=prevr;

}

System.out.println("Exceeded count root calc may be
invalid.");
System.out.println("z="+z);

r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:
r =
(((BigK.subtract(BigInteger.ONE)).multiply(r.pow(k)).add(z)).divide((r.pow(k

-1)).multiply(BigK)));
Quote:

System.out.println("r="+r);

return r;

}



}
Dik T. Winter
Posted: Thu Nov 27, 2003 7:56 am
Guest
In article <3fc4d84f.78540739@netnews.att.net> lesterDELzick@worldnet.att.net (Lester Zick) writes:
Quote:
On Wed, 26 Nov 2003 15:21:41 GMT, "Dik T. Winter" <Dik.Winter@cwi.nl
in sci.cognitive wrote:
....

[ Snipped James method where he uses differences of two cubes.]

Quote:
This comes pretty close to the method Fermat used. (Find two squares whose
difference is 0 mod the number to be factored.) I would think working with
squares is faster.

This turns out to be incorrect in my own rather limited amateur
experience. I have programmed a number of algorithms along this line
and have produced none as fast as serial division by successive odd
numbers.

Works well indeed with small numbers (say 20/25 digits or less) or when
there is a relatively very small divisor. Most modern methods try to
find two squares with a difference that is 0 mod the number to be
factored, it is only the way those numbers are found that varies quite
a bit. Going from Fermat through Quadradic Sieve through Multiple
Polynomial Quadratic Sieve, to the same with large primes, and next to
the Number Field Sieve. The only feasable other method currently in
use is the Elliptic Curves method, which works best if there is a large
prime factor. So it does not go well with the RSA challenges, as they
have two prime factors in the neighbourhood of the square root of the
number.

But my remark more meant that working with squares would be faster than
working with cubes (as James proposed).
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
 
Page 1 of 2    Goto page 1, 2  Next   All times are GMT - 5 Hours
The time now is Sun Oct 12, 2008 2:52 pm