a crypto library I wrote years ago