working hexto64 finally.