Author Archive

What is a Nonce?

May 7th, 2020
Posted in Security | No Comments

A nonce is a value, N, that is used only once: Nonce. Nonces or nonce values are encountered in cryptography. The initialization vector used for AES in CBC mode are typically nonces: C1 = CIPHK(P1 ⊕ Nonce) Cj = CIPHK(Pj ⊕ Cj-1) for 2 <= j <= n Here, cipher block 1 is the result […]

apr: Failed Creating Threads

May 5th, 2020

There is a potential segmentation fault when executing ‘make test’ while building apr-1.7.0. The following lines are output: … testatomic : -Line 413: Failed creating threads -/bin/sh: line 2: XXXXX Segmentation fault ./$prog -v … Programs failed: testall make[1]: *** [check] Error 139 make[1]: Leaving directory `…/apr-1.7.0/test’ make: *** [check] Error 2 The segmentation fault […]

fciv.py – Python Module for Microsoft FCIV

April 5th, 2020

fciv.py is a Python module that I implemented to generate file integrity data in a format used by Microsoft File Checksum Integrity Verifier. My use case involves copying files from a Linux workstation to a Microsoft Windows workstation. I wanted to generate integrity data on Linux using Python 3 and verify file integrity on Microsoft […]

Let the (Casino) Chips Fall Where They May

March 25th, 2020

It has been more than 10 years since the Great Recession.

TypeScript: readonly vs. const

March 10th, 2020
Posted in TypeScript | No Comments

From The TypeScript Handbook: The easiest way to remember whether to use readonly or const is to ask whether your using it on a variable or a property. Variables use const whereas properties use readonly.