summaryrefslogtreecommitdiff
path: root/security/ocaml-cryptokit
AgeCommit message (Collapse)AuthorFilesLines
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-08Revision bump associated with the update of lang/ocaml to version 4.jaapb2-3/+4
2012-08-15Update to 1.6 from Jaap Boender in PR 46800:wiz3-19/+17
This update of ocaml-cryptokit to its newest version, 1.6. does not actually change anything in the functionality of the software. Upstream, the build system has changed, and there are also a few changes to the package (most notably, removal of the PLIST.opt in favour of the PLIST_VARS system)
2012-05-12Initial import of ocaml-cryptokit-1.5. Packaged byJaap Boender in PR 41691.wiz6-0/+98
The Cryptokit library for Objective Caml provides a variety of cryptographic primitives that can be used to implement cryptographic protocols in security-sensitive applications. The primitives provided include: Symmetric-key cryptography: AES, DES, Triple-DES, ARCfour, in ECB, CBC, CFB and OFB modes. Public-key cryptography: RSA encryption and signature; Diffie-Hellman key agreement. Hash functions and MACs: SHA-1, MD5, and MACs based on AES and DES. Random number generation. Encodings and compression: base 64, hexadecimal, Zlib compression. Additional ciphers and hashes can easily be used in conjunction with the library. In particular, basic mechanisms such as chaining modes, output buffering, and padding are provided by generic classes that can easily be composed with user-provided ciphers. More generally, the library promotes a "Lego"-like style of constructing and composing transformations over character streams.