security/ocaml-cryptokit 1.19
Variety of cryptographic primitives for Objective Caml
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL20+
- Categories
- security
- Package size
- 1113.3 KiB, 4778.0 KiB installed
Description
[ excerpt from developer's www site ]
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.
Install
As a binary package — by origin, or by package name:
pkg install security/ocaml-cryptokit
pkg install ocaml-cryptokit
From the ports tree:
cd /usr/ports/security/ocaml-cryptokit/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ocaml-cryptokit>0:security/ocaml-cryptokit
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.19 | 1.19 | - | 1.19 | 1.19 |
| FreeBSD:14:quarterly | 1.19 | 1.19 | n/a | 1.19 | 1.19 |
| FreeBSD:15:latest | 1.19 | 1.19 | n/a | 1.19 | 1.19 |
| FreeBSD:15:quarterly | 1.19 | 1.19 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.19 | 1.19 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META: math/ocaml-zarith
Runtime 1
${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META: math/ocaml-zarith
The full lists below include those, and their dependencies in turn.
All build dependencies 24
- archivers/brotli
- devel/gettext-runtime
- devel/ocaml-dune
- devel/ocaml-findlib
- graphics/png
- lang/ocaml
- lang/tcl86
- math/gmp
- math/ocaml-zarith
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/ocaml-labltk
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
All run dependencies 23
- archivers/brotli
- devel/gettext-runtime
- devel/ocaml-findlib
- graphics/png
- lang/ocaml
- lang/tcl86
- math/gmp
- math/ocaml-zarith
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/ocaml-labltk
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
No port depends on this one.
Configuration
Options name: security_cryptokit
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- ocaml:dune,ldconfig
- Service scripts
- none
Files
pkg-plist 21
- %%OCAML_SITELIBDIR%%/cryptokit/META
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.a
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cma
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmi
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmt
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmti
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmx
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmxa
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmxs
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.ml
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.mli
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.cmi
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.cmt
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.cmti
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.cmx
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.ml
- %%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.mli
- %%OCAML_SITELIBDIR%%/cryptokit/dllcryptokit_stubs.so
- %%OCAML_SITELIBDIR%%/cryptokit/dune-package
- %%OCAML_SITELIBDIR%%/cryptokit/libcryptokit_stubs.a
- %%OCAML_SITELIBDIR%%/cryptokit/opam
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| xavierleroy-cryptokit-1.19-release119_GH0.tar.gz | 162353 | a7e203aac7fb86fa26fbcc5e7243c8e0f46f0d084bfaf06767d0b816fc12ccb1 |
Commit history 0
No commits in the history this site was built from.