fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import com.google.common.base.Charsets;
  4.  
  5. class Main
  6. {
  7. public static void main (String[] args) throws java.lang.Exception
  8. {
  9. byte[] bytes = "OfflinePlayer: r__d".getBytes(Charsets.UTF_8);
  10. System.out.println(java.util.UUID.nameUUIDFromBytes("IL_17R_HB_3449".getBytes()));
  11. Thread.sleep(500);
  12. System.out.println(java.util.UUID.nameUUIDFromBytes(bytes));
  13. Thread.sleep(500);
  14. System.out.println(java.util.UUID.nameUUIDFromBytes(bytes));
  15. }
  16. }
Success #stdin #stdout 0.15s 53524KB
stdin
Standard input is empty
stdout
88efef90-eff9-3736-802f-2742f7d65b49
d48cb77e-71bc-33c5-b501-5be1eaaa5fb4
d48cb77e-71bc-33c5-b501-5be1eaaa5fb4