In this post we’ll look at some useful tip and tricks when using JavaScript. Remove Empty/False Array Elements JSON Templating Sorting an Array of Objects Destructing Spreading ...
JavaScript Tips & Tricks
NodeJS Express HTTPS Server
In this post we’ll look at how to add TLS to an NodeJS express HTTP server. This post will assume that you already know how to setup a HTTP server using express. If you don’t know how to, you can ...
NodeJS Express HTTP Server
In this post we’ll look at how to build a simple HTTP server in NodeJS using the express framework. Server Setup Required Packages Basic Setup Express Basics ...
JavaScript Fetch
In this post we’ll look at how to use the fetch command in JavaScript in the browser with some common use cases and examples. Making Requests GET Request POST Request Inc...
TLS Server Signature Algorithm
In this post we’ll look at what the TLS Server Signature Algorithm is for. This guide can get technical at times so it’s recommended that you understand the follow terms as they are assumed knowle...
OpenSSL Creating a Host Certificate
In this post we’ll look at how to create our own Host Certificates using OpenSSL. These certificates can be used on web-servers for enabling TLS. A valid CA Certificate and Private key will be req...
OpenSSL Creating a Certificate Authority (CA)
In this post we’ll look at how to create our own Certificate Authority (CA) using OpenSSL. Generating a Private Key List OpenSSL Support Elliptic Curves Elliptic Curve Private ...
OpenSSL Testing a Signature Algorithm
In this post we’ll look at how to test whether a server supports a certain signature algorithm when using TLS. Testing RSA PKCS1 Signature Algorithm Testing RSA PSS RSAE Signature Algorithm ...
OpenSSL Testing a Cipher Suite
In this post we’ll look at how to test whether a server supports a certain cipher suite when using TLS. Testing Ciphers for TLSv1.2 & Below Testing Other TLS Versions T...
NodeJS Crypto Module
In this post we’ll look at how to use some features of the crypto library built into NodeJS. We’ll look at how to do symmetric encryption (AES), hashing strings and files, and finally ECDH (Ellipti...