• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
          • Mmp-trees
          • Semaphore
          • Database
          • Cryptography
          • Rlp
          • Transactions
          • Hex-prefix
            • Hp-decode
            • Hp-encode
            • Hp-encode-aux
            • Hp-encoding-p
          • Basics
          • Addresses
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Ethereum

Hex-prefix

Hex-prefix encoding.

Hex-prefix is an encoding method for Ethereum, described in [YP:C] and in Section `Specification: Compact encoding of hex sequence with optional terminator' of Page `Patricia Tree' of [Wiki].

Subtopics

Hp-decode
Hex-prefix decoding function.
Hp-encode
Hex-prefix encoding function.
Hp-encode-aux
Turn a even-length sequence of nibbles into a sequence of bytes.
Hp-encoding-p
Check if a byte array is a hex-prefix encoding.