package ohex

  1. Overview
  2. Docs
Hexadecimal encoding and decoding

Install

Dune Dependency

Authors

Maintainers

Sources

ohex-0.2.0.tar.gz
md5=77f2cbe75b9efd528a2b3478a8d4f3d4
sha512=af72a9699f81878cc7d247a92a28332a8e34f247ad6bd477f8c7ae7f2970b73c4750a31eedf8eeb43ca8d19ae3c4c4f8a9d5421a40b73eb1f1711f44b14ff3e6

Description

A library to encode and decode hexadecimal byte sequences.

Published: 18 Mar 2024

README

oHEX

This package with minimal dependency cone provides functionality to decode and encode strings into hexadecimal representation.

As example, Ohex.decode "4142" = "AB". And Ohex.encode "AB" = "4142".

There's even the property, for all strings s: Ohex.(decode (encode s)) = s.

A pretty-printer is provided as well.

Dependencies (2)

  1. dune >= "2.7"
  2. ocaml >= "4.08.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (24)

  1. albatross >= "2.1.0"
  2. asn1-combinators >= "0.3.2"
  3. builder-web >= "0.2.0"
  4. ca-certs >= "1.0.0"
  5. caldav >= "0.2.2"
  6. dns >= "9.0.0"
  7. dns-cli >= "9.0.0"
  8. hkdf >= "2.0.0"
  9. kdf
  10. mirage-crypto >= "1.0.0"
  11. mirage-crypto-ec >= "1.0.0"
  12. mirage-crypto-pk >= "1.0.0"
  13. mirage-crypto-rng >= "1.0.0"
  14. mirage-crypto-rng-async >= "1.0.0"
  15. mirage-crypto-rng-eio >= "1.0.0"
  16. mirage-crypto-rng-miou-unix
  17. mirage-crypto-rng-mirage >= "1.0.0"
  18. mirage-qubes >= "0.9.4"
  19. pbkdf >= "2.0.0"
  20. salsa20-core >= "2.0.0"
  21. tls >= "1.0.0"
  22. tls-miou-unix
  23. webauthn >= "0.2.0"
  24. x509 >= "1.0.0"

Conflicts

None

OCaml

Innovation. Community. Security.