Constant-Time bin2hex() implementation

Contant time bin2hex() implementation, taken from https://github.com/jedisct1/libsodium/commit/814df1e60d282fd0f52f53e0ba38c2e252f436dd