package base64

  1. Overview
  2. Docs

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

  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 >= "0.10.0"
  11. bistro >= "0.5.0"
  12. builder
  13. caldav
  14. capnp-rpc-lwt >= "0.3.2" & < "0.5.0"
  15. capnp-rpc-mirage >= "0.3.3" & < "0.6.0"
  16. capnp-rpc-net
  17. capnp-rpc-unix >= "0.3.2"
  18. carton
  19. cohttp >= "2.0.0"
  20. colombe < "0.2.0"
  21. current_web >= "0.3"
  22. datakit-ci >= "0.12.3"
  23. decompress >= "1.1.0"
  24. dkim
  25. dns >= "1.1.1" & < "4.0.0"
  26. dns-server >= "4.6.3"
  27. dns-tsig >= "4.4.0"
  28. dnssec
  29. dose3 >= "6.1"
  30. dream < "1.0.0~alpha3"
  31. dream-httpaf
  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.0.0"
  38. git-unix >= "3.0.0"
  39. graphql-cohttp >= "0.9.0"
  40. h2 >= "0.5.0"
  41. http-lwt-client
  42. hvsock >= "2.0.0"
  43. irc-client >= "0.7.0"
  44. irmin >= "2.0.0" & < "2.3.0"
  45. irmin-indexeddb >= "2.0"
  46. jose < "0.8.1"
  47. jwto >= "0.2.0"
  48. kittyimg
  49. learn-ocaml
  50. learn-ocaml-client
  51. letsencrypt < "0.4.1"
  52. links >= "0.9"
  53. melange < "0.3.1" | = "1.0.0"
  54. meldep
  55. monorobot
  56. mrmime
  57. multipart_form
  58. ocaml-protoc-plugin >= "6.1.0"
  59. opam-client >= "2.1.4"
  60. opium >= "0.19.0"
  61. opium_kernel = "0.17.1"
  62. otoggl
  63. otr >= "0.3.7"
  64. ozulip
  65. pbrt_yojson
  66. pgx_async >= "1.0"
  67. pgx_lwt_unix
  68. pgx_unix >= "1.0"
  69. piqilib >= "0.6.15"
  70. plotkicadsch >= "0.5.0"
  71. prettym
  72. repr
  73. sail < "0.15"
  74. sail_doc_backend
  75. sail_ocaml_backend
  76. sendmail >= "0.2.0"
  77. session >= "0.5.0"
  78. soupault >= "2.3.0"
  79. spoke
  80. u2f
  81. vercel
  82. webauthn
  83. websocket = "2.13"
  84. websocketaf
  85. x509 >= "0.10.0" & < "0.15.1"

Conflicts

None