Encrypt credentials with pin