Package org.n52.shetland.util
Class IdGenerator
java.lang.Object
org.n52.shetland.util.IdGenerator
Class to generate an id by using MessageDigest SHA-256 and a random double
- Since:
- 7.3.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdGenerator
public IdGenerator()
-
-
Method Details
-
generate
Generates a sensor id from description and current time as long.- Parameters:
message- sensor description- Returns:
- generated sensor id as hex SHA-256.
-