Kasun Dharmadasa·Apr 21, 2025Modern Encryption is at risk: Understanding the Quantum Computing ThreatMost of us are relying heavily on public key cryptography systems such as RSA, Elliptic Curve Cryptography (ECC), and Diffie-Hellman (DH)…
Kasun Dharmadasa·Dec 31, 2018Handling Java Memory Consistency with happens-before relationshipIf you are developing multi-threaded applications in Java, you need to have an understanding of how the shared variables are handled…A response icon2A response icon2
Kasun Dharmadasa·Dec 29, 2018Java Lambda ExpressionsLambda expressions are known to be the biggest feature introduced with Java 8. This was the Java’s first step to Functional Programming.A response icon3A response icon3
Kasun Dharmadasa·Dec 26, 2018Garbage Collection: How it’s done?If you are familiar with the basics of the memory allocation in programming languages, you know that there are two parts in the memory…A response icon4A response icon4
Kasun Dharmadasa·Oct 10, 2018SSL Handshake explainedIf you have ever browsed an HTTPS URL through a browser, you have experienced the SSL handshake. Even though might not notice it, the…A response icon5A response icon5
Kasun Dharmadasa·Jun 30, 2018Using the Maven Assembly Plugin to build a ZIP distributionIf you have been creating Java programs you are surely familiar with Maven. Maven [1] is a project build and management tool that can be…A response icon5A response icon5
Kasun Dharmadasa·Dec 17, 2017Session Management in Java using Servlet Filters and Cookies(If you are not familiar with Servlets and JSP, please refer my previous post on Sample Java Web Application using Servlets and JSP)A response icon4A response icon4
Kasun Dharmadasa·Dec 17, 2017Java Servlet FiltersServlet Filters are used to intercept a request and conduct pre-processing or post-processing on that request. It is useful in implementing…A response icon3A response icon3
Kasun Dharmadasa·Sep 24, 2017Implementing and Testing HTTP Public Key Pinning (HPKP)With HTTPS we use encryption to secure the communication with a server and a client. This encryption consists of two types known as…A response icon1A response icon1
Kasun Dharmadasa·Jul 3, 2017How to store passwords securely with PBKDF2Passwords can be the most valuable data to an attacker because stolen passwords can provide attackers the ability to bypass most of the…A response icon3A response icon3