This operation uses the OpenPGP.js library for browsers and Node.js. It is maintained by Proton Mail and is licensed under the GNU Lesser General Public License v3.0. To date, the code base has undergone two complete security audits from Cure53. Star their GitHub repository to give them some love.
This article is a work in progress.