https://tutorial.eyehunts.com/js/javascript-string-to-byte-array-convert-to-example-code/
JavaScript string to byte array | Convert to Example code