package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

base64-v3.3.0.tbz
sha256=3ae91334f029ccd96690b598010f94e55811095d14a37d52f1724e5eca0f35cc
sha512=818103de0ac03b9a04f5aafc119341522bf69e57dfbd038b321f92ab8cbf7fc7084ca3012086baece12da94d4d5448eb927f70b741025a13d49e93ca6ea27d41

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: 30 Jan 2020

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

  1. dune >= "2.0"
  2. dune-configurator
  3. base-bytes
  4. ocaml >= "4.03.0"

Dev Dependencies (3)

  1. alcotest with-test & < "1.0.0"
  2. rresult with-test
  3. bos with-test

Used by (87)

  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" | >= "6.2.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. hvsock >= "2.0.0"
  44. irc-client >= "0.7.0"
  45. irmin >= "2.0.0" & < "2.3.0"
  46. irmin-indexeddb >= "2.0"
  47. jose
  48. jupyter >= "2.5.0"
  49. jwto >= "0.2.0"
  50. kittyimg
  51. learn-ocaml
  52. learn-ocaml-client
  53. letsencrypt
  54. links >= "0.9"
  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 >= "0.3.7"
  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 >= "0.5.0"
  73. prettym
  74. repr
  75. sail < "0.15"
  76. sail_doc_backend
  77. sail_ocaml_backend
  78. sendmail >= "0.2.0"
  79. session >= "0.5.0"
  80. soupault >= "2.3.0"
  81. spoke
  82. u2f
  83. vercel
  84. webauthn
  85. websocket >= "2.13"
  86. websocketaf
  87. x509 >= "0.10.0"

Conflicts

None