I'm reminded of those self-decrypting .exe archives that WinZip used to produce back in the day...
Any browser?
Tested and working with recent Chrome, Firefox, Opera, Safari 6.1+, IE 10+. https://www.passwordprotectmyfile.com/faq.
It uses, among others, the Blob API so will not work on older browsers.
I'm not too familiar with GnuPG, so I don't know if that's different.