/camellia-zig

Camellia block cipher written in pure Zig

Primary LanguageZig

camellia-zig

CI

camellia-zig is an implementation of the Camellia block cipher written in pure Zig.

Usage

Add this package to your build.zig.zon:

zig fetch --save git+https://github.com/sorairolake/camellia-zig.git

Add the following to your build.zig:

const camellia = b.dependency("camellia", .{});
exe.root_module.addImport("camellia", camellia.module("camellia"));

Documentation

To build the documentation:

zig build doc

The result is generated in zig-out/docs.

If you want to preview this, run a HTTP server locally. For example:

python -m http.server -d zig-out/docs

Then open http://localhost:8000/ in your browser.

Zig version

This library is compatible with Zig version 0.13.0.

Source code

The upstream repository is available at https://github.com/sorairolake/camellia-zig.git.

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

License

Copyright © 2024 Shun Sakai (see AUTHORS.adoc)

This library is distributed under the terms of either the Apache License 2.0 or the MIT License.

This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.