package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

base64-v3.5.0.tbz
sha256=589de9c00578ebfe784198ac9818d3586c474b2316b6cd3e1c46ccb1f62ae3a4
sha512=82efc76ca75717dbd533eac20845ca8731f535233f6a3e6081114d7e3dc7ee8367ded16f402ef05ad0bf1217a3a6224161c92b9467023e44fc7f3598a314a432

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: 09 Feb 2021

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 (3)

  1. base-bytes
  2. dune >= "2.0"
  3. 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
  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. current_github >= "0.4"
  26. current_web >= "0.3"
  27. datakit-ci >= "0.12.3"
  28. decompress >= "1.1.0"
  29. dkim
  30. dns >= "1.1.1" & < "4.0.0" | >= "6.2.0"
  31. dns-server >= "4.6.3"
  32. dns-tsig >= "4.4.0"
  33. dnssec
  34. dose3 >= "6.1"
  35. dream < "1.0.0~alpha3"
  36. dream-httpaf
  37. dream-pure
  38. email_message >= "v0.13.0"
  39. emile >= "0.4"
  40. eqaf >= "0.7"
  41. extism-manifest
  42. extprot >= "1.7.0"
  43. ezjs_push >= "0.2"
  44. frenetic >= "5.0.5"
  45. git >= "3.0.0"
  46. git-mirage >= "3.7.1"
  47. git-unix >= "3.0.0"
  48. graphql-cohttp >= "0.9.0"
  49. guardian < "0.0.5"
  50. h2 >= "0.5.0"
  51. http-lwt-client
  52. hvsock >= "2.0.0"
  53. irc-client >= "0.7.0"
  54. irmin >= "2.0.0" & < "2.3.0"
  55. irmin-indexeddb >= "2.0"
  56. jose
  57. jupyter >= "2.5.0"
  58. jwto >= "0.2.0"
  59. kittyimg
  60. learn-ocaml
  61. learn-ocaml-client
  62. letsencrypt
  63. links >= "0.9"
  64. melange < "0.3.1" | = "1.0.0"
  65. meldep
  66. memtrace_viewer < "v0.15.0"
  67. monorobot
  68. mrmime
  69. multibase
  70. multipart_form
  71. naboris >= "0.1.3"
  72. ojs-base >= "0.6.0"
  73. ojs_filetree
  74. opam-client >= "2.1.4"
  75. opium >= "0.19.0"
  76. opium_kernel = "0.17.1"
  77. otoggl
  78. otr >= "0.3.7"
  79. ozulip
  80. pbrt_yojson
  81. pgx_async >= "1.0"
  82. pgx_lwt_unix
  83. pgx_unix >= "1.0"
  84. piqilib >= "0.6.15"
  85. plist-xml
  86. plotkicadsch >= "0.5.0"
  87. prettym
  88. repr
  89. rpclib >= "7.1.0"
  90. sail < "0.15"
  91. sail_doc_backend
  92. sail_ocaml_backend
  93. sendmail >= "0.2.0"
  94. session >= "0.5.0"
  95. sodium-fmt
  96. soupault >= "2.3.0"
  97. spoke
  98. u2f
  99. vercel
  100. virtual_dom >= "v0.16.0"
  101. webauthn
  102. websocket >= "2.13"
  103. websocketaf
  104. x509 >= "0.10.0"

Conflicts

None