• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
        • Mmp-trees
        • Semaphore
        • Database
        • Cryptography
        • Rlp
        • Transactions
        • Hex-prefix
          • Hp-decode
          • Hp-encode
          • Hp-encode-aux
          • Hp-encoding-p
        • Basics
        • Addresses
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • 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.