package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

base64-3.5.1.tbz
sha256=d8fedaa59bd12feae7acc08b5928dd478aac523f4ca8d240470d2500651c65ed
sha512=278bd2029800d90ed88ff59b9de723013e645523556a1667b64178d6b5058a7d6da91efffef3589c35569b5fa10ddee74c93f5a3d156b9146c8af5b7fe44aeaf

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: 01 Feb 2023

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

  1. dune >= "2.3"
  2. ocaml >= "4.03.0"

Dev Dependencies (4)

  1. alcotest with-test
  2. rresult with-test
  3. bos with-test
  4. fmt with-test & >= "0.8.7"

  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
  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. extism-manifest
  42. extprot >= "1.7.0"
  43. ezjs_push >= "0.2"
  44. forester >= "4.3.0"
  45. frenetic
  46. git >= "3.2.0"
  47. git-kv >= "0.2.0"
  48. git-mirage
  49. git-unix >= "3.2.0"
  50. graphql-cohttp >= "0.9.0"
  51. guardian < "0.0.5"
  52. h1 >= "1.1.0"
  53. h2 >= "0.5.0"
  54. http-lwt-client
  55. httpun-ws
  56. hvsock >= "2.0.0"
  57. irc-client >= "0.7.0"
  58. irmin < "2.7.1"
  59. irmin-indexeddb
  60. jose
  61. jsonschema
  62. jupyter
  63. jwto >= "0.2.0"
  64. kittyimg
  65. learn-ocaml
  66. learn-ocaml-client
  67. letsencrypt
  68. links
  69. liquid_std
  70. melange < "0.3.1" | = "1.0.0"
  71. meldep
  72. memtrace_viewer < "v0.15.0"
  73. monorobot
  74. mrmime
  75. multibase
  76. multipart_form
  77. naboris >= "0.1.3"
  78. ocaml-protoc-plugin >= "6.1.0"
  79. ojs-base
  80. ojs_filetree
  81. opam-client >= "2.1.4"
  82. opium >= "0.19.0"
  83. opium_kernel = "0.17.1"
  84. otoggl
  85. otr
  86. ozulip
  87. pbrt_yojson
  88. pgx_async >= "1.0"
  89. pgx_lwt_unix
  90. pgx_unix >= "1.0"
  91. piqilib >= "0.6.15"
  92. plist-xml
  93. plotkicadsch
  94. prettym
  95. quill
  96. repr
  97. rpclib
  98. sail < "0.15"
  99. sail_doc_backend
  100. sail_ocaml_backend
  101. savvy
  102. sendmail >= "0.2.0"
  103. session >= "0.5.0"
  104. sherlodoc
  105. slipshow
  106. smaws-lib
  107. sodium-fmt
  108. soupault >= "2.3.0"
  109. spoke
  110. vercel
  111. virtual_dom >= "v0.16.0"
  112. webauthn
  113. websocket >= "2.13"
  114. websocketaf
  115. x509 >= "0.11.2"

Conflicts

None

OCaml

Innovation. Community. Security.