Friday, October 30, 2015

Measuring Password Strength (Bits of Entropy)

How to measure password Strength ?

Being in the momentum of “the internet of things“ everyone has to have many online accounts nowadays. With all these accounts, users and applications are always in a race to protect their private data from piracy.

Sunday, October 11, 2015

Processes vs. Threads in Java


In concurrent programming there are two basic units of execution : processes and threads.
The main point of using concurrent programming is to have the ability of multitasking . Multitasking is a process of executing multiple tasks simultaneously. 

Wednesday, October 7, 2015

Support all languages in your web application - UTF-8 encoding (Spring, Maven, Java, Tomcat, MYSQL, JSP,)


Recently I worked on a project where one of the requirements was to support all languages (Arabic, Chinese, German, Hindi, etc .. ). Doing so was not as straight forward as I had thought, especially when the multi-languages data passes through different layers/ frameworks in your application.

Generate a unique N letters word sequence (by using relationship between Factoradic base system and Lexicographic Permutation Order of a String)

Lets say that you want to generate a unique 3 letters code sequence to be used as a primary key for some data recodes. Also let assume ...