string2hex and hex2string is ok by me.
Please, no! String.to_hex and String.from_hex are IMHO much preferred over String.string2hex (perhaps that should be String.sTr1ng2h3ks or something equally 'L337?).
/ David Hedbor
Previous text:
2003-03-12 17:24: Subject: nettle.cmod
string2hex and hex2string is ok by me. Don't throw an error for uneven lengthed hex strings though. Pad them instead.
/ Martin Nilsson (har bott i google)