Paragon Initiative Enterprises Blog

The latest information from the team that develops cryptographically secure PHP software.

How to Generate Secure Random Numbers in Various Programming Languages

This blog post will maintain the industry best practices for securely generating random data in Ruby, Node.js, Java, etc.


Solve All Your Cryptography Problems in 3 Easy Steps

A layman's introduction to using Halite, our libsodium wrapper


Securely Implementing (De)Serialization in PHP

Deserializing a string into a data structure is a simple task riddled with security holes.


Client Authenticity is Not the Server's Problem

The answer to a very frequently asked question that most people in the industry know without needing to read this.


One Login To Rule them All - Seamless and Secure Cross-Domain Authentication

How to authenticate a user on multiple domains without violating the Same Origin Policy.


How to Safely Store Your Users' Passwords in 2016

Salted Password Hashing with Argon2, Scrypt, Bcrypt, and PBKDF2


On The Design and Implementation of a Stealth Backdoor for Web Applications

Or: How I won the password hashing category for the Underhanded Crypto Contest at DEFCON 23.


Choosing the Right Cryptography Library for your PHP Project: A Guide

If you're wondering which cryptography library you should use in your project, this should help make the decision easier.


Preventing Timing Attacks on String Comparison with a Double HMAC Strategy

Preventing side-channel attacks (i.e. timing attacks on MAC validation) and dangerous compiler optimizations with a blinded comparison.


How to Securely Allow Users to Upload Files

The theory and practice of securing file upload form handlers. Our examples are in PHP, but many of the filesystem security concepts here are language agnostic.


Need Technology Consultants?

Will tomorrow bring costly and embarrassing data breaches? Or will it bring growth, success, and peace of mind?

Our team of technology consultants have extensive knowledge and experience with application security and web/application development.

We specialize in cryptography and secure PHP development.

Let's Work Together Towards Success

Our Security Newsletters

Want the latest from Paragon Initiative Enterprises delivered straight to your inbox? We have two newsletters to choose from.

The first mails quarterly and often showcases our behind-the-scenes projects.

The other is unscheduled and gives you a direct feed into the findings of our open source security research initiatives.

Quarterly Newsletter   Security Announcements