Create the array of bytes data by encoding the string s in UTF-8.
using System.Text;
byte[] data = Encoding.UTF8.GetBytes(s);
data := []byte(s)
var data: pbyte absolute s;
data = s.encode('utf8')
data = s.bytes
let data = s.into_bytes();
No security, no password. Other people might choose the same nickname.