password encryption uses private key now