package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

base64-v3.4.0.tbz
sha256=1c9cf655bdd771a4d20014f7f29aadfde7e3821b01772b49f8ba4d4bda2b1634
sha512=e66a67302a9eb136044bebf66a89a1d6e38a96c70622bb6cd27916fec36dcaf4b5b7e7d00c25608f0a2363f2ca4264a5fe765fe7747590958325dbce06311db9

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: 14 Mar 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
  2. rresult with-test
  3. bos with-test

Used by (98)

  1. async_smtp >= "v0.13.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. bonsai >= "v0.16.0"
  13. builder
  14. caldav
  15. capnp-rpc-lwt >= "0.3.2" & < "0.5.0"
  16. capnp-rpc-mirage >= "0.3.3" & < "0.6.0"
  17. capnp-rpc-net
  18. capnp-rpc-unix >= "0.3.2"
  19. carton
  20. carton-lwt
  21. cohttp >= "2.0.0"
  22. cohttp_async_websocket
  23. colombe < "0.2.0"
  24. conex-mirage-crypto
  25. content_security_policy >= "v0.17.0"
  26. current_github >= "0.4"
  27. current_web >= "0.3"
  28. datakit-ci >= "0.12.3"
  29. decompress >= "1.1.0"
  30. dkim
  31. dns >= "1.1.1" & < "4.0.0" | >= "6.2.0"
  32. dns-server >= "4.6.3"
  33. dns-tsig >= "4.4.0"
  34. dnssec
  35. dose3 >= "6.1"
  36. dream < "1.0.0~alpha3"
  37. dream-httpaf
  38. dream-pure
  39. email_message >= "v0.13.0"
  40. emile >= "0.4"
  41. eqaf >= "0.7"
  42. extprot >= "1.7.0"
  43. ezjs_push >= "0.2"
  44. git >= "3.0.0"
  45. git-unix >= "3.0.0"
  46. graphql-cohttp >= "0.9.0"
  47. h2 >= "0.5.0"
  48. http-lwt-client
  49. hvsock >= "2.0.0"
  50. irc-client >= "0.7.0"
  51. irmin >= "2.0.0" & < "2.3.0"
  52. irmin-indexeddb >= "2.0"
  53. jose
  54. jupyter >= "2.5.0"
  55. jwto >= "0.2.0"
  56. kittyimg
  57. learn-ocaml
  58. learn-ocaml-client
  59. letsencrypt
  60. links >= "0.9"
  61. melange < "0.3.1" | = "1.0.0"
  62. meldep
  63. memtrace_viewer < "v0.15.0"
  64. monorobot
  65. mrmime
  66. multipart_form
  67. naboris >= "0.1.3"
  68. ocaml-protoc-plugin >= "6.1.0"
  69. opam-client >= "2.1.4"
  70. opium >= "0.19.0"
  71. opium_kernel = "0.17.1"
  72. otoggl
  73. otr >= "0.3.7"
  74. ozulip
  75. pbrt_yojson
  76. pgx_async >= "1.0"
  77. pgx_lwt_unix
  78. pgx_unix >= "1.0"
  79. piqilib >= "0.6.15"
  80. plist-xml
  81. plotkicadsch >= "0.5.0"
  82. prettym
  83. repr
  84. rpclib >= "7.1.0"
  85. sail < "0.15"
  86. sail_doc_backend
  87. sail_ocaml_backend
  88. sendmail >= "0.2.0"
  89. session >= "0.5.0"
  90. soupault >= "2.3.0"
  91. spoke
  92. u2f
  93. vercel
  94. virtual_dom >= "v0.16.0"
  95. webauthn
  96. websocket >= "2.13"
  97. websocketaf
  98. x509 >= "0.10.0"

Conflicts

None

OCaml

Innovation. Community. Security.