Hi. There are some routines for conversion ascii number representation to/from hex in gnupg/common/convert.c but nor in gcrypt. I think those are generally useful enough to move them into gcrypt library. This would make nice addition to existing functions for s-exp and mpi printing and scanning. cheers, Max.