How I understand RSA

wpid-wp-1402514522645-1024x735.jpeg Euler’s totient function is defined as the number of positive integers relatively prime to n (including 1). E.g. φ(12) = 4 ( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), and φ(15) = 8. as to why the extended Euclid’s algo can be used to find the modular multiplicative inverse wpid-wp-1402514649564-1024x767.jpeg wpid-wp-1402514730357-1024x491.jpeg In particular, ^ page 9. OAEP is the padding scheme ( ) , whereas I2OSP and OS2IP (on page 4); what really helped things come full circle for me is realizing how they represent arbitrary data as an integer (first converting it to an octet string). Without further do, let’s test our generated keys by encrypting and decrypting the number 521 (any number smaller than 527, our modulus, will do. ( ) )

$ python
Python 2.7.5+ (default, Feb 27 2014, 19:37:08)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print 521**41 % 527
>>> print 346**281 % 527

Note that if we try with a larger number…

>>> print 1000**41 % 527
>>> print 411**281 % 527

Nope. What really helped things come full circle once again (or full sphere..) It makes more sense to use a symmetric encryption algorithm with high throughput to encrypt the data first, then use PKI to encrypt and transfer the key. And that is how the world works.

Proof by contradiction (aka a LaTeX test)

What is a proof by contradiction? A proof by contradiction is if $\neg P \Rightarrow F$ is true.

One assumes that a proposition P is False, and uses that to derive until a contradiction is reached, which can’t be True.

A popular example: Let’s prove that $\sqrt2$ is irrational. An irrational number is something that cannot be expanded into a fraction. (A common misconception is that Pi is $\frac{22}{7}$ and therefore rational; no it is not exactly $\frac{22}{7}$.


Assume that $\sqrt2$ is rational; such that we can represent it as $\frac{a}{b}$, where $\frac{a}{b}$ is a fraction in lowest terms.

$\Rightarrow \sqrt2 = \frac{a}{b}$ $\Rightarrow 2 = \frac{a^2}{b^2}$ $\Rightarrow 2b^2 = a^2$ $\Rightarrow 2 \mid a$ $\Rightarrow 4 \mid a^2$ $\Rightarrow 4 \mid 2b^2$ $\Rightarrow 2 \mid b^2$ $\Rightarrow 2 \mid b$ If both $a$ and $b$ are even, they are not in lowest terms, as both can be divided by 2 for further simplification. Hence we have a contradiction. $\square$

Unicode support nightmare

Wikipedia jumps on the Helvetica bandwagon

Helvetica Scenario.

Bitcoin dev is someone's paranoid father.

Imagine having Satoshi Nakamoto for a father. He is your usual cranky old man in his 60s. His supposed daughter had this to say about him:

‘He is very wary of government interference in general,’ she says. ‘When I was little, there was a game we used to play. He would say, ‘Pretend the government agencies are coming after you.’ And I would hide in the closet.’

He was a software engineer for the FAA, has worked on military systems, and has done work for Hughes Aircraft at RCA.

Shooting the messenger: Level Counterforce

The activists claim high-paid tech employees are squeezing out the middle and working classes from the city.

Perhaps it has never occurred to them that they are living in a meritocracy. Perhaps it has never occurred to them that Google has competitors, too…

A mere 10% of scientific research is reproducible, in some cases. The proposed solution is integrating the raw data, the computing, and analysis into one package as opposed to using different software tools for different stages of research which may make it cumbersome for students to back-step.

Enter R Markdown, a statistical package that integrates seamlessly with the programming language R. The team chose R Markdown for its ease of use – students wouldn’t have to learn a new computer syntax – and because it combines the raw data, computing and written analysis into one HTML document. The researchers hoped a single HTML file would give students a start-to-finish understanding of assignments, as well as make studying and grading easier.

What the hivemind had to say on this:

Some prophet's tirade on knowledge and the "information superhighway" in 1993. Warning, link contains profanity. Here is an excerpt:

There’s a moral to this story boys and girls. Inform, teach, explore. Don’t gain the elitest attitude that only the few computer guru’s deserve the k-nowledge. That will get society nowhere. If something is not done to show Americans the light, then it will all go to hell. All computers will turn into entertainment systems. Inventiveness will be left to the evil, who’s only goal is to get money from you. If you are in disbelief, just turn on your T.V. Didn’t MTV start out as a new media form? Now-a-days, theres about .1% M in MTV, and about 99% ads and manipulation. Lets give a wakeup call to the world. Lets make it big and loud. NOW, not tomorrow.

D3D vs OpenGL-A Pyrrhic Victory that's becoming not so Pyrrhic anymore tl;dr OpenGL had many functions like multitexturing, shaders, hardware T&L support for quite a long time…. with vendor-specific extensions. MS had a lot of time to mess up and learn, and it didn’t help that there were so many complete rewrites of OpenGL by so many different vendors before the ARB came in and provided their half-hearted fixes. Fast forward to the launch of Vista; MS slipped up again by not providing D3D10 support on XP; and Vista was, well, not the best OS of its time. D3D10 hardware runs D3D9 like a walk in the park, and game developers still provide DX9 compatibility (a year later and Crysis still supports DX9.) OpenGL got their stuff together too late with the release of OpenGL 3.0 with GLSL, and Win7+DX11 is taking everyone by storm. New cards like the HD 5850 are nearly twice as fast as the previous ATI RV770 cards, and OpenGL goes back to picking up the mess made after their mad race.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now