Generate master key with PBKDF

Oops, this has been sitting in the wrong repo for 8 months.