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

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

Conflicts

None

OCaml

Innovation. Community. Security.