package base64
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  Base64 encoding for OCaml
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      base64-v3.4.0.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=1c9cf655bdd771a4d20014f7f29aadfde7e3821b01772b49f8ba4d4bda2b1634
    
    
  sha512=e66a67302a9eb136044bebf66a89a1d6e38a96c70622bb6cd27916fec36dcaf4b5b7e7d00c25608f0a2363f2ca4264a5fe765fe7747590958325dbce06311db9
    
    
  doc/CHANGES.html
v3.4.0 (2020-03-13)
- Fix tests about alcotest.1.0.0(@dinosaure, #40)
- Be more strict about padding when we decode a base64 input (@dinosaure, @hannesm, @cfcs, #43)
- Remove fmtdependency (#43)
v3.3.0 (2019-01-30)
- Remove builddirective on dune dependency (@CraigFe, #35)
- Make error poly-variant open (@copy, #39)
- Use unsafe_bytes_set16uinsteadunsafe_string_set16u(@dinosaure, @hhugo, @avsm, #37)
v3.2.0 (2019-04-04)
- Base64_rfc2045.decodecan now progress on many input errors, allowing clients to make forward progress by discarding a single character and trying to continue. This allows, for example, newlines and other invalid characters to be discarded. (#34 @tiash, review by @dinosaure @avsm)
- Add more test cases for RFC2045 (#34 @dinosaure)
- Improve README toplevel output example (#28 @djs55)
v3.1.0 (2019-02-03)
- Add Base64.encode_stringthat doesn't raise or return an error. This makes it easier to port pre-3.0 code to the new interface (#26 @avsm)
v3.0.0 (2018-01-21)
- Implementation of Base64 according to RFC 2045 (available on base64.rfc2045)
- New implementation of Base64 according to RFC 4648 from nocrypto's implementation
- Fix bad access with String.iteron the old implementation of Base64 (@dinosaure, #23)
- Check isomorphism between encode&decodefunction (@hannesm, @dinosaure, #20)
- Add tests from RFC 3548 and from PHP impl. (@hannesm, @dinosaure, #24)
- Add fuzzer on both implementations
- check isomorphism
- check bijection
- check if decodedoes not raise any exception
- break-api, B64was renamed toBase64(@copy, @avsm, @dinosaure, #17)
- break-api, Base64.decodeandBase64.encodereturns a result type instead to raise an exception (@hannesm, @dinosaure, #21)
- break-api, Add subtype to avoid allocation to the end-user (@avsm, @dinosaure, #24)
- break-api, Add padargument ondecodefunction to check if input is well-padded or not (@hannesm, @dinosaure, #24)
- break-api, Add offandlenoptional arguments onencode&decodefunctions to compute a part of input (@cfcs, @dinosaure, #24)
- Better performance (see #24) (@dinosaure)
- Review of code by @cfcs (see #24)
v2.3.0 (2018-11-23)
- Add a decode_optfunction that is a non-raising variant ofdecode.
- Reformat the code with ocamlformat (@dinosaure)
- Port build to dune from jbuilder (@dinosaure
v2.2.0 (2017-06-20)
- Switch to jbuilder (#13, @rgrinberg)
v2.1.2 (2016-10-18)
- Fix version number (#11, @hannesm)
v2.1.1 (2016-10-03)
- Switch build to topkgand obey theodigconventions for installing metadata files.
- Add a test suite based on RFC4648 test vectors.
- Improve Travis CI tests to be multidistro.
v2.0.0 (2014-12-24)
- Switch the top-level Base64module toB64to avoid clashing with various other similarly named modules inextliband some other libraries. This is obviously backwards compatibility breaking with all current users of this library. (#3).
1.1.0 (2014-12-16)
- Allow specifying a different alphabet during encoding or decoding, and supply a URI-safe alphabet along with the default Base64 standard.
- Add OCaml 4.02 safe-stringcompatibility.
- Optionally support encoding without padding.
1.0.0 (2014-08-03)
- Initial public release.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page