Use hex for key encoding