package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

base64-v3.1.0.tbz
sha256=48dc1d7133bbcbc17dd71db6763ce289367cf54a38a170c0439ee9e61fc6556f
md5=9847073feb4272e513d8c832904e1af7

Description

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. It is specified in RFC 4648.

Added to opam-repository:

README

Base64 for OCaml

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. It is specified in RFC 4648.

See also documentation.

Example

Simple encoding and decoding.

utop # #require "base64";;
utop # let enc = Base64.encode_exn "OCaml rocks!";;
val enc : string = "T0NhbWwgcm9ja3Mh"
utop # let plain = B64.decode_exn enc;;
val plain : string = "OCaml rocks!"

License

ISC

Dependencies (3)

  1. dune >= "1.0.1"
  2. base-bytes
  3. ocaml >= "4.03.0"

Dev Dependencies (3)

  1. alcotest with-test
  2. rresult with-test
  3. bos with-test

Used by (92)

  1. async_smtp < "v0.15.0"
  2. awa
  3. aws >= "1.2"
  4. aws-s3
  5. awsm
  6. azblob
  7. azure-cosmos-db < "0.2.0"
  8. biocaml
  9. bistro
  10. builder
  11. caldav
  12. capnp-rpc-net
  13. capnp-rpc-unix
  14. carton < "1.0.0"
  15. chatoyant
  16. cohttp >= "2.4.0"
  17. colombe < "0.2.0"
  18. current_git >= "0.7.3"
  19. current_web
  20. decompress >= "1.1.0"
  21. diffast-core
  22. diffast-misc != "0.3.5.1"
  23. dkim
  24. dns < "4.4.1"
  25. dns-server
  26. dns-tsig
  27. dnssec
  28. dose3 >= "6.1"
  29. dream < "1.0.0~alpha3"
  30. dream-httpaf < "1.0.0~alpha4"
  31. dream-pure
  32. email_message < "v0.15.0"
  33. emile >= "0.4"
  34. eqaf >= "0.7"
  35. extprot >= "1.7.0"
  36. git >= "3.2.0"
  37. git-unix >= "3.2.0"
  38. graphql-cohttp >= "0.9.0"
  39. h2 >= "0.5.0"
  40. http-lwt-client
  41. httpun-ws
  42. hugin = "1.0.0~alpha2"
  43. hvsock >= "2.0.0"
  44. irc-client >= "0.7.0"
  45. irmin < "2.7.1"
  46. irmin-indexeddb
  47. jsonschema
  48. jwto >= "0.2.0"
  49. kittyimg
  50. kube
  51. ldap >= "2.5.2"
  52. learn-ocaml
  53. learn-ocaml-client
  54. links
  55. melange < "0.3.1" | = "1.0.0"
  56. meldep
  57. miaou-driver-web
  58. monorobot
  59. mrmime
  60. multipart_form
  61. ocaml-ai-sdk
  62. ocaml-protoc-plugin >= "6.1.0"
  63. opam-client >= "2.1.4"
  64. opium >= "0.19.0"
  65. opium_kernel = "0.17.1"
  66. otoggl
  67. otr
  68. ozulip
  69. pbrt_yojson
  70. pgx_async
  71. pgx_lwt_unix
  72. pgx_unix
  73. piqilib >= "0.6.15"
  74. playwright
  75. plotkicadsch
  76. prettym
  77. quill < "1.0.0~alpha3"
  78. repr
  79. sail < "0.15"
  80. sail_doc_backend
  81. sail_ocaml_backend
  82. sendmail >= "0.2.0"
  83. session >= "0.5.0"
  84. slipshow < "0.11.0"
  85. sosie
  86. soupault >= "2.3.0"
  87. spoke
  88. vercel
  89. webauthn
  90. websocket = "2.13"
  91. websocketaf
  92. x509 >= "0.11.2" & < "0.16.5"

Conflicts

None