package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

base64-v3.2.0.tbz
sha256=b6717d5540d22a51e0ce473f94e89acbf6592f234c3d096449e7ed4796854ecb
md5=8ac1d6145277cee57d36611d1c420f05

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: 04 Apr 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 = Base64.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 & < "1.0.0"
  2. rresult with-test
  3. bos with-test

Used by (89)

  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. ezjs_push >= "0.2"
  38. git >= "3.0.0"
  39. git-unix >= "3.0.0"
  40. graphql-cohttp >= "0.9.0"
  41. h2 >= "0.5.0"
  42. http-lwt-client
  43. httpun-ws
  44. hvsock >= "2.0.0"
  45. irc-client >= "0.7.0"
  46. irmin >= "2.0.0" & < "2.3.0"
  47. irmin-indexeddb >= "2.0"
  48. jose < "0.8.1"
  49. jupyter >= "2.5.0"
  50. jwto >= "0.2.0"
  51. kittyimg
  52. learn-ocaml
  53. learn-ocaml-client
  54. letsencrypt < "0.4.1"
  55. links >= "0.9"
  56. melange < "0.3.1" | = "1.0.0"
  57. meldep
  58. monorobot
  59. mrmime
  60. multipart_form
  61. ocaml-protoc-plugin >= "6.1.0"
  62. opam-client >= "2.1.4"
  63. opium >= "0.19.0"
  64. opium_kernel = "0.17.1"
  65. otoggl
  66. otr >= "0.3.7"
  67. ozulip
  68. pbrt_yojson
  69. pgx_async >= "1.0"
  70. pgx_lwt_unix
  71. pgx_unix >= "1.0"
  72. piqilib >= "0.6.15"
  73. plotkicadsch >= "0.5.0"
  74. prettym
  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. u2f
  85. vercel
  86. webauthn
  87. websocket = "2.13"
  88. websocketaf
  89. x509 >= "0.10.0" & < "0.15.1"

Conflicts

None

OCaml

Innovation. Community. Security.