This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.nio.ByteBuffer; | |
import java.util.UUID; | |
/** | |
* Generate short UUID (13 characters) | |
* | |
* @return short UUID | |
*/ | |
public static String shortUUID() { | |
UUID uuid = UUID.randomUUID(); |