In this article I’ll explain what is Image Enhancement? What is contrast enhancement? What’s the difference between the two? How to achieve one or the other or both? For simplicity, we’ll operate only on black and white images with gray scale of 0 – 255, and images will only be in pgm format. But if you understand the concept, then it can be expanded and applied on more complex formats as well e.g. RGB or CMYK etc. This article will probably be most useful for students and/or software developers who have to do some image processing work. However, other programmers can also try the code just for the sake of fun, because the results are so interesting and very easy to produce!

This post is for beginner Java developers, if you are one, keep on reading, otherwise you can skip. So if you are up to developing a chess game in Java then this article might give you a little bit head start. In this article you’ll see how easy it is to set the basic UI of a chess application in Java. Not only will you learn how to draw a chess board but also how set pieces and handle their moves. The application I’m posting here is an excerpt of what I made as my semester project. The complete application was made by a team of 4 developers and had some advanced features like playing chess with other players over the internet, chatting and etc. The code of original game will not be available; however you can get help from its mini-version that can be seen by selecting the following link:

In this article I’ll demonstrate how easy it is to implement the most popular asymmetric-key cryptosystem, RSA in Java language. RSA, named after its inventors Rivest, Shamir and Adleman, is basis of many modern encryption protocols e.g. SSL, PGP etc. The detailed explanation of how RSA works is beyond the scope of this article; nonetheless, you’ll find in this article practical implementation of RSA’s encryption and decryption algorithms. Moreover, you’ll also find, in its basic form, implementation of Optimal Asymmetric Encryption Padding (OAEP), which is an essential part of RSA (Thanks to Ojash Shrestha).