Active Topics

 


Reply
Thread Tools
smegheadz's Avatar
Posts: 387 | Thanked: 566 times | Joined on Dec 2009 @ Dublin
#2831
Originally Posted by marxian View Post
Sample contest for iPhone users:

Q1: What is Steve's last name?

Q2: Who is god? (Clue: see Q1)

Q3: Complete this phrase: Insanely _ _ _ _ _.

Q4: iPhone 5 will be:

a) Magical, b) Insanely great, c) a & b
Don't forget Q5: spell 'APP'
__________________
Never argue with stupid people.They lower you to their level then beat you with experience.
Humility is something we should all taste.
 

The Following 2 Users Say Thank You to smegheadz For This Useful Post:
Moderator | Posts: 5,320 | Thanked: 4,464 times | Joined on Oct 2009
#2832
N9... Where art thou?
c0d3rr0r?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#2833
Originally Posted by recluse View Post
ElGamal Example (explained easier)

This scheme requires several variables.

a is a secret key less than the value of p. We will assume it is 304 since p must be greater than it.
g is the generator variable. Nokia has told us its value is 10.
p is a large prime number that Nokia have told us is >304.
For our situation, p is the most important. It is a prime number that must have 'g' as a primitive root.
For fun, we will select 2789.
m is our encrypted message (if there is one) that has to be less than p. For fun we'll choose 832 (from taxi)
k is a prime number used for encrypting the message. It also has the condition it must be less than p and gcd(k, p − 1) = 1. For fun, we will choose 15 (from truck).

So let's do it.

Generate Public Key

p = 2789; g = 10; a = 304
g^a % p = 10^304 (% 2789) ≡ 1161

Now we have what is known as a 'public key' (p, g, g^a%p).
The public key is P = (p ← 2789, g ← 10, g^a%p ← 1161), the secret key is a (304).

Encrypt Message

Next, we encrypt a message m = 832 as follows:
k = 15
γ = 10^15 (% 2789) ≡ 1063
δ ≡ 832 x 1161^15 (% 2789) ≡ 181
c = (γ ← 1063, δ ← 181)

The ciphertext, c, is then sent to the recipient.

Decrypt Message

The recipient can then calculate m from this. The message is calculated by:
m ≡ 1063^(2789-1-304) x 181 ≡ (1063^2484) x 181 (% 2789) ≡ 832

In summary -- to get your 6 digits for the competition:
Generating Public Key
<p><10><10^a % p> (6 digits)

In this situation, p is most likely 3 digits. Also, a or y is likely 15 (where else would it be used?)
This means you can get p from the list below:
313, 337, 367, 379, 383, 389, 419, 433, 461, 487, 491, 499, 503, 509, 541, 571, 577, 593, 619, 647, 659, 701, 709, 727, 743, 811, 821, 823, 857, 863, 887, 937, 941, 953, 971, 977, 983.

Generating Cipher Key
<10^k % p><m*(10^a%p)^k %p> (6 digits)

In this situation, p is most likely 4 digits.
This means Nokia has given us the p from the 'colors on the wall'.
........

Wow. **** that. I don't think I want a free N9 that much.
 

The Following 3 Users Say Thank You to For This Useful Post:
Posts: 52 | Thanked: 74 times | Joined on Jun 2011
#2834
Originally Posted by gerbick View Post
........

Wow. **** that. I don't think I want a free N9 that much.
Awesome. It's all mine then.
Even though I wrote all that, I have no clue where to start either.
I'm sure it'll be solved within a few seconds of the next clue though.
 

The Following 3 Users Say Thank You to recluse For This Useful Post:
catbus's Avatar
Posts: 887 | Thanked: 2,444 times | Joined on Jun 2011
#2835
Originally Posted by recluse View Post
Awesome. It's all mine then.
Even though I wrote all that, I have no clue where to start either.
I'm sure it'll be solved within a few seconds of the next clue though.
And that won't be "123456"... I already try that...
 

The Following User Says Thank You to catbus For This Useful Post:
rentze's Avatar
Posts: 123 | Thanked: 219 times | Joined on Mar 2011 @ Confederatio Helvetica
#2836
The clue for the last code: give a solution with polynomial complexity for the travelling salesman problem. Represent it using a 6-digit code and there you are!
 

The Following 2 Users Say Thank You to rentze For This Useful Post:
Posts: 74 | Thanked: 195 times | Joined on Jul 2011 @ Denmark
#2837
Originally Posted by biatch0 View Post
Just to update you guys, there's been invites going around to a "preview" of the N9 in Malaysia sometime soon - within the next couple of weeks. Judging from the amount of time it took for Nokia Malaysia to organize something like this for the N900 (6 months after official launch), I would assume that the N9 can't be that far off - right on track for the late August/early September launch date that's been going around on the boards for awhile.
Nokia Denmark were out interviewing people on the streets and hearing their opinion on the N9 (The nokia logo was covered, but they have said on facebook were they where so "fans" could come by). But I caught them in their break and "played" with the N9. I was focusing on the basic things email, text pics videos ect but that thing rocked - HARD! I'm impressed and this was with prototype hardware and software. Everything was smooth even though alot of apps, pics, video ect were used in the background - though, as far as I understood the apps are being paused when you swipe to another app or home screen.

About the launch date the "off the record"/unofficial"-thing in in mind it should be september-ish in Denmark - But we are like 6million ppl so for you guys in UK, USA and bigger countries you might get it before, who knows?

p.s. it's very interesting to see you guys trying to break the code - grea<t intertainment and commitment! And cool with the white N9 - though i'm going for a blue if i'm getting one.
 

The Following 7 Users Say Thank You to Lindegaard For This Useful Post:
Posts: 283 | Thanked: 336 times | Joined on Dec 2009 @ Germany
#2838
Originally Posted by Lindegaard View Post
I'm impressed and this was with prototype hardware and software. Everything was smooth even though alot of apps, pics, video ect were used in the background - though, as far as I understood the apps are being paused when you swipe to another app or home screen.

.
not all apps are paused. take a look at this video http://www.youtube.com/watch?v=mfEEBkcTwDo

you can see that the compass app is still „working“ in the background. but the video-player for example will pause.
 
Cod3rror's Avatar
Posts: 66 | Thanked: 27 times | Joined on Jul 2011
#2839
Originally Posted by zymo View Post
not all apps are paused. take a look at this video http://www.youtube.com/watch?v=mfEEBkcTwDo

you can see that the compass app is still „working“ in the background. but the video-player for example will pause.
Video player will also not play in portrait orientation.

And there are lots of little things like these that need to be ironed that probably never will.

MeeGo/N9 had a potential, now it's finished.

If I got a free N9, I'd probably use it, however to pay for one... no way.
__________________
Free yourself from nokia's morlock cave, discover the future, today: iPhone!
 
Posts: 34 | Thanked: 33 times | Joined on Sep 2010 @ Pune, India
#2840
Is it true that p should be equal to (2^k*q + 1) where q is prime? If yes, then how can p be 313?
__________________
-- I am just a developer
 
Reply

Tags
disapoint, eflop, epic win!, laggy interface, n9 rox, so much win, wateriswet, who cares, whyyyyy??????


 
Forum Jump


All times are GMT. The time now is 19:54.