Category Archives: JavaScript

JavaScript: SHA-256 Implementation

October 3rd, 2021
Posted in JavaScript | No Comments

This weekend I decided to experiment with using JavaScript to implement client-side processing of files using a web browser. To make it interesting, I wanted to see if it was possible to implement a cryptographically strong hash function: SHA-256. This exercise gave me exposure to Web Workers and the Stream API. I encountered compatibility challenges. […]