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.

Published: 03 Feb 2019

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 (88)

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

Conflicts

None