Updated to use Hexa instead of ASN1