encodeHex takes each character, converts it to hexadecimal and then adds it to a new string
encodeHex takes no parameters
val = "hello world" log val.encodeHex() // 68656c6c6f20776f726c64
Last updated 1 year ago