david wong

Hey! I'm David, a security engineer at the Blockchain team of Facebook, previously a security consultant for the Cryptography Services of NCC Group. This is my blog about cryptography and security and other related topics that I find interesting.

Encrypting a file posted September 2018


Encrypting a file is hard. I often need to do it to protect confidential data before sending it to someone. Besides PGP (yerk) there doesn't seem to be any light tools to do that easily. The next best option is often to have a common messaging app like Signal. So I made my own. It's called Eureka and it's available in binaries or if you have Golang installed on your device, directly by doing this:

$ go get github.com/mimoo/eureka

It's also 100 LOC. It's just doing a simple job that seems to be missing from most default tooling.

Well done! You've reached the end of my post. Now you can leave me a comment :)

Girkov Arpa

"Besides PGP (yerk) there doesn't seem to be any light tools to do that easily"

I guess you haven't heard about PassLok? It's as light as a feather and does more than PGP.


I usually use an encrypted zip or 7z file for that.