package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

dune-project
 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
  2. awa
  3. aws >= "1.2"
  4. aws-s3
  5. awsm
  6. azblob
  7. azure-cosmos-db < "0.2.0"
  8. biocaml
  9. bistro
  10. bonsai >= "v0.16.0"
  11. builder
  12. caldav
  13. capnp-rpc-net
  14. capnp-rpc-unix
  15. carton < "1.0.0"
  16. carton-lwt < "1.0.0"
  17. cohttp >= "2.4.0"
  18. cohttp_async_websocket
  19. colombe < "0.2.0"
  20. conex-mirage-crypto
  21. content_security_policy >= "v0.17.0"
  22. current_git >= "0.7.3"
  23. current_github
  24. current_web
  25. decompress >= "1.1.0"
  26. diffast-core
  27. diffast-misc != "0.3.5.1"
  28. dkim
  29. dns < "4.4.1" | >= "6.3.0"
  30. dns-server
  31. dns-tsig
  32. dnssec
  33. dose3 >= "6.1"
  34. dream < "1.0.0~alpha3"
  35. dream-httpaf < "1.0.0~alpha4"
  36. dream-pure
  37. email_message
  38. emile >= "0.4"
  39. eqaf >= "0.7"
  40. extprot >= "1.7.0"
  41. ezjs_push >= "0.2"
  42. git >= "3.2.0"
  43. git-unix >= "3.2.0"
  44. graphql-cohttp >= "0.9.0"
  45. h2 >= "0.5.0"
  46. http-lwt-client
  47. httpun-ws
  48. hugin = "1.0.0~alpha2"
  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. jws
  57. jwto >= "0.2.0"
  58. kittyimg
  59. ldap >= "2.5.2"
  60. learn-ocaml
  61. learn-ocaml-client
  62. letsencrypt < "2.0.0"
  63. links
  64. melange < "0.3.1" | = "1.0.0"
  65. meldep
  66. memtrace_viewer < "v0.15.0"
  67. miaou-driver-web
  68. monorobot
  69. mrmime
  70. multipart_form
  71. naboris >= "0.1.3"
  72. ocaml-ai-sdk
  73. ocaml-protoc-plugin >= "6.1.0"
  74. opam-client >= "2.1.4"
  75. opium >= "0.19.0"
  76. opium_kernel = "0.17.1"
  77. otoggl
  78. otr
  79. ozulip
  80. pbrt_yojson
  81. pgx_async
  82. pgx_lwt_unix
  83. pgx_unix
  84. piqilib >= "0.6.15"
  85. plist-xml
  86. plotkicadsch
  87. prettym
  88. quill < "1.0.0~alpha3"
  89. repr
  90. rpclib
  91. sail < "0.15"
  92. sail_doc_backend
  93. sail_ocaml_backend
  94. sendmail >= "0.2.0"
  95. session >= "0.5.0"
  96. slipshow
  97. smaws-lib
  98. soupault >= "2.3.0"
  99. spoke
  100. vercel
  101. virtual_dom >= "v0.16.0"
  102. webauthn
  103. websocket >= "2.13"
  104. websocketaf
  105. x509 >= "0.11.2"

Conflicts

None