How to Thwart Hackers and the NSA with Encryption