mirage/ocaml-base64

Name: ocaml-base64

Owner: MirageOS

Description: Base64 encoding and decoding in OCaml

Created: 2014-08-03 11:11:58.0

Updated: 2018-03-15 11:03:27.0

Pushed: 2017-06-20 11:23:52.0

Homepage: null

Size: 92

Language: OCaml

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

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.

 # #require "base64";;
 # let enc = B64.encode "OCaml rocks!";;
enc : string = "T0NhbWwgcm9ja3Mh"
 # let plain = B64.decode enc;;
plain : string = "OCaml rocks!"
License

ISC


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.