ocaml.org icon indicating copy to clipboard operation
ocaml.org copied to clipboard

Cookbook Encode and Decode Bytestrings from Hex-Strings

Open ggsmith842 opened this issue 1 year ago • 0 comments

I have added two functions for the task Encode and Decode Bytestrings from Hex-Strings

  1. decode_hex_string to convert a hexidecimal string to an ascii string.
  2. encode_to_hex to convert an ascii string to hexidecimal.

Both functions leverage the Hex library.

ggsmith842 avatar May 21 '24 21:05 ggsmith842