Categories

Thread safety issues with Java SimpleDateFormat class

One of the common programming practices is to define a static SimpleDateFormat instance and use it in your application whenever you need to parse and/or format Java dates. It actually does perfect sense, because parsing and formatting in general is a computationally expensive operation and rather than creating the object over and over again, [...]

  • Share/Bookmark

How to Pick Strong Passwords? Part 3: Doing the Math

Now that we know how to calculate the number of operations we need for each type of password, and have a tool to experiement with, let’s calculate how long will it take for a modern computer to break passwords of different strengths. This is a bit tricky as computers have different calculating powers, multiple [...]

  • Share/Bookmark