generate sensor id with SecureRandom