The API spec says:
"Note: The Nearby Connections API does not require the user to authenticate, which means that it can be used even when the user does not want to sign in or sign-in has failed."
"Warning: Messages sent through the Nearby Connections API are not encrypted. Do not send sensitive data through this API."[1]