mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2020-08-31, 15:21   #1
baih
 
baih's Avatar
 
Jun 2019

2·17 Posts
Default odd or even

Let a= 3
and n large numbre like RSA-260


Code:
22112825529529666435281085255026230927612089502470015394413748319128822941402001986512729726569746599085900330031400051170742204560859276357953757185954298838958709229238491006703034124620545784566413664540684214361293017694020846391065875914794251435144458199
then
x private key
c= ax mod n


we can check if x number is odd or even

We can use just a,n,c to determine if x number is even or odd.

Last fiddled with by LaurV on 2020-09-03 at 07:20 Reason: added code tag for the number - that long line makes the post looks very bad in some browsers
baih is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 01:15.

Tue Oct 20 01:15:32 UTC 2020 up 39 days, 22:26, 0 users, load averages: 1.93, 1.91, 2.03

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.