Latest projects in Magic PC:

RSA Cryptography:

RSA is an algorithm for encrypt data using a pair of keys, this technology is now the most used in the world now, because it's to hard to break or to steal, it relies on primes and modular arithmetic.

To know more about RSA see this link:

Prime Number Hide-and-Seek How the RSA Cipher Works

After reading this article I developed a library in Visual Studio 2005 using VB .NET 2005, the library fully demonstrates the article.

Magic Graphics

Hi all .Net developers and programmers.

If you're a .Net developer or a programmer you must have heard of the Drawing namespace in System namespace, and you maybe used it to draw in your applications.

For those who used them they must have found that moving a single shape in a scene using simple code is not that easy, you'll have to redraw the whole scene with the shape in its new location, the same thing happens for rotating and scaling a shape, so I had an idea, "Why can't we just write Rectangle.Move(X,Y) and it moves? Why should I remember every shape coordinates to redraw a small shape in a new position?" so I answered the question.

I developed a small class that lets you manipulate your drawings as Objects, I mean that you can define a rectangle and just write Rectangle.Move(x,y) and it'll move to the given position without much hard-coding, I defined (Rectangle, Ellipse, Lines), but you can also define your own shape, you just have to inherit the base class (MagicGraphics.Shape) and you'll have to write your own Render sub (void) and ToString function, and you can add as much as you want of properties.

All the shapes you draw must be placed in a ShapeContainer that handles the drawing according to the Z-Order between shapes.

You can read more in Code Project Site.

MagicGraphicsLibraryManual.pdf