Jeff Gould

    All categories on the blog:

    How to write a rolling hash string search algorithm in JavaScript

    December 17, 2019

    Some time ago I watched an interview on interviewing.io where the task that the interviewer posed to the interviewee was to create a function called grep() that should accept two strings, haystack and needle , and return an array of indexes where needle exists in haystack . The naive…

    Continue Reading

    Use the Web Crypto API to Generate a Public / Private Key Pair for End to End, Asymmetric Cryptography on the Web

    September 21, 2019

    I'll preface this by saying that I'm not cryptography expert - just a dev who has found himself interested in the topic of cryptography in general and in asymmetric cryptography more specifically. These concepts are incredibly deep and I will barely scratch the surface but let's dip our toes in…

    Continue Reading