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 (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
  11. bistro
  12. builder
  13. caldav
  14. capnp-rpc-net
  15. capnp-rpc-unix
  16. carton < "1.0.0"
  17. cohttp >= "2.4.0"
  18. colombe < "0.2.0"
  19. current_web
  20. decompress >= "1.1.0"
  21. diffast-core
  22. diffast-misc
  23. dkim
  24. dns < "4.4.1" | >= "6.3.0"
  25. dns-server
  26. dns-tsig
  27. dnssec
  28. dose3 >= "6.1"
  29. dream < "1.0.0~alpha3"
  30. dream-httpaf < "1.0.0~alpha4"
  31. dream-pure
  32. email_message >= "v0.13.0" & < "v0.15.0"
  33. emile >= "0.4"
  34. eqaf >= "0.7"
  35. extprot >= "1.7.0"
  36. ezjs_push >= "0.2"
  37. git >= "3.2.0"
  38. git-unix >= "3.2.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.7.1"
  46. irmin-indexeddb
  47. jose
  48. jsonschema
  49. jupyter
  50. jwto >= "0.2.0"
  51. kittyimg
  52. learn-ocaml
  53. learn-ocaml-client
  54. letsencrypt
  55. links
  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
  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
  74. prettym
  75. quill
  76. repr
  77. sail < "0.15"
  78. sail_doc_backend
  79. sail_ocaml_backend
  80. sendmail >= "0.2.0"
  81. session >= "0.5.0"
  82. slipshow
  83. soupault >= "2.3.0"
  84. spoke
  85. vercel
  86. webauthn
  87. websocket >= "2.13"
  88. websocketaf
  89. x509 >= "0.11.2"

Conflicts

None

OCaml

Innovation. Community. Security.