Sep 21 2010

An example of use of CORBA

Hello

CORBA (Common Object Request Broker Architecture) is a standart defined by OMG (Object Management Group), this let distributed object from different languages and OS to communicate. It also provides total transparency in the communication. The IDL (Interface Definition Language) is the tecnology used to describe the interfaces. IDL has your own data types, that are mapped to the data types in other languages. There is an IDL compiler, it generates the codes that do the communication.

But how it works? We have some definitions in a .idl file, in this case Bank-idl (remember to change the filename).

Read more »

Sep 02 2010

Java RMI – Intro and Example

Good Night,

Java RMI (Remote Method Invocation), is a mechanism that let the user, create distributed applications using Java. It takes care of Sockets, protocols and others. But how it works? All the magic is done by RMI. It have a server named RMIREGISTRY, where your server connect and says “I’m here”. After this Clients can connect to RMIREGISTRY and find the server that it wants.

I will show you an example of a Car Advertisement server, where Clients can add and search for Vehicle.

Read more »

Sep 02 2010

MD5 Decrypter – Version 0.5

Hello,

A few days ago I published the new version of MD5 Decrypter. But what is this program? I had this idea, when I was studding Parallel Comp. I had to do a project, anything that I want, that uses parallel programming. I always like this kind of stuff, security, cryptography, brute force… Than I decided to do a program to “break” md5 using brute force. What I can do with it? You can send a MD5 String and try to find some key that generates this hash.

So what is the change-log in this version?
- There is a lot of changes, the implementation was made almost from scratch.
- The sockets now uses a XML standard so the master can communicate with other slave platforms. (such as python)
- Slave still send strings to console
- The master and Slave don’t need more graphic interface.
- Slaves has a thread that just listen, so when the string is find by other Slave, master can stop them.
- There is a system to verify if a Slave is still connected (ping/pong)
—– When the slave don’t answer the Master disconnect it and send his string to other Slave when asked.

More details about MD5 Decrypter

I hope this can be useful,
Matheus