Password-based key generation

Adding PBE keys as an option.
It's probably not a good to encourage people to log their keys. :) It means anyone could see them.