fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import com.google.common.base.Charsets;
  6.  
  7. class Main {
  8. public static void main(String[] args) throws java.lang.Exception {
  9. String[] values = {"FR*S91*EV*AFTJ3", "FR*S91*EV*AFTJ4", "FR*S91*EV*BAPW3", "FR*S91*EV*BAPW4", "FR*S91*EV*BGNL3", "FR*S91*EV*BGNL4", "FR*S91*EV*BLYP3", "FR*S91*EV*BLYP4", "FR*S91*EV*CFRB3", "FR*S91*EV*CFRB4", "FR*S91*EV*DDDW3", "FR*S91*EV*DDDW4", "FR*S91*EV*DJTO3", "FR*S91*EV*DJTO4", "FR*S91*EV*DMZA3", "FR*S91*EV*DMZA4"};
  10.  
  11. for (String value : values) {
  12. byte[] bytes = value.getBytes(Charsets.UTF_8);
  13. System.out.println(value + "," + java.util.UUID.nameUUIDFromBytes(bytes));
  14. Thread.sleep(500);
  15. }
  16. }
  17. }
Success #stdin #stdout 0.22s 58520KB
stdin
Standard input is empty
stdout
FR*S91*EV*AFTJ3,44ecdea9-3691-37b1-918c-c8ac1941c373
FR*S91*EV*AFTJ4,58f6dc75-ed86-3ade-a7bc-02c6a33edd6f
FR*S91*EV*BAPW3,0f9882fe-b6a6-346c-919b-01422a2ab00c
FR*S91*EV*BAPW4,88aa81e6-4db4-371a-98c7-d1bc010ed206
FR*S91*EV*BGNL3,0b09d742-494a-3441-bec6-bbb926f94829
FR*S91*EV*BGNL4,b980f52c-b90e-3091-ae39-cf79e887fd0e
FR*S91*EV*BLYP3,ebe6d933-2524-395c-918e-0a4901ba8303
FR*S91*EV*BLYP4,91ece762-637b-3f36-9d5f-effae37de508
FR*S91*EV*CFRB3,563ddf6a-981f-38dc-9639-d774b21aaa99
FR*S91*EV*CFRB4,cbcfcaec-79ce-3d95-b772-6a392ac7c54e
FR*S91*EV*DDDW3,132a3671-3672-3b8d-b23f-5e44d315921d
FR*S91*EV*DDDW4,58d1ac66-2b35-3726-9d78-0301a2175952
FR*S91*EV*DJTO3,ea37cfaa-c669-3dd9-bfaa-59fd4e49924f
FR*S91*EV*DJTO4,07f4e06f-0547-387d-a5d2-a2694e71178a
FR*S91*EV*DMZA3,87bef9a1-1b1a-322a-8b42-0df717e4a53f
FR*S91*EV*DMZA4,701a48ae-c3f9-3afa-8fcc-03ac819e340b