Category Archives: Algorithms

Create a randomized 2-dimentional datamatrix image using Java 2D

I have implemented an algorithm today for creating a random datamatrix image. While writing the algorithm I learned about how to create a random image using a BufferedImage, how to iterate the bits in a byte array, how to do simple bitwise calculation and image scaling; The result of the algorithm is images similar to these […]

Posted in Algorithms | Leave a comment

Pattern based password generator

Having to deal with changing passwords on multiple computers every three or four weeks, resulted in me making a password generator to speed up the process. Making a password generator is trivial, however, making one that generates meaningfull passwords is another issue.  Another challenge is security and true randomness vs deterministic randomness. In this post, I present a small utility that […]

Also posted in Java | Tagged , , , | Leave a comment