package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

Dune 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 (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"
  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. httpun-ws
  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 < "0.8.1"
  48. jwto >= "0.2.0"
  49. kittyimg
  50. learn-ocaml
  51. learn-ocaml-client
  52. letsencrypt < "0.4.1"
  53. links >= "0.9"
  54. melange < "0.3.1" | = "1.0.0"
  55. meldep
  56. monorobot
  57. mrmime
  58. multipart_form
  59. ocaml-protoc-plugin >= "6.1.0"
  60. opam-client >= "2.1.4"
  61. opium >= "0.19.0"
  62. opium_kernel = "0.17.1"
  63. otoggl
  64. otr >= "0.3.7"
  65. ozulip
  66. pbrt_yojson
  67. pgx_async >= "1.0"
  68. pgx_lwt_unix
  69. pgx_unix >= "1.0"
  70. piqilib >= "0.6.15"
  71. plotkicadsch >= "0.5.0"
  72. prettym
  73. repr
  74. sail < "0.15"
  75. sail_doc_backend
  76. sail_ocaml_backend
  77. sendmail >= "0.2.0"
  78. session >= "0.5.0"
  79. slipshow
  80. soupault >= "2.3.0"
  81. spoke
  82. u2f
  83. vercel
  84. webauthn
  85. websocket = "2.13"
  86. websocketaf
  87. x509 >= "0.10.0" & < "0.15.1"

Conflicts

None

OCaml

Innovation. Community. Security.