Java tutorial
import java.util.UUID; public class Main { public static void main(String[] args) { byte[] nbyte = { 10, 20, 30 }; // creating UUID from byte UUID uid = UUID.nameUUIDFromBytes(nbyte); // checking UUID value System.out.println("UUID value from byte: " + uid); } }