Please see the original article for a full explanation. Please feel free to comment, question and criticize there as well!
Requires https://www.npmjs.com/package/simple-free-encryption-tool
- compiled from multiple sources and much trial and error, feel free to use and pass on
- this is not exhaustive, it's meant only as a guide
I haven't looked at this in years, but I have built the simple-free-encryption-tool that can be used to replace a lot of this functionality.