String to Byte Array Java UTF-8
String someText = "text";
byte[] message = someText.getBytes(StandardCharsets.UTF_8);
Worried Willet
String someText = "text";
byte[] message = someText.getBytes(StandardCharsets.UTF_8);