Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sorairolake/camellia-zig
Camellia block cipher written in pure Zig
https://github.com/sorairolake/camellia-zig
block-cipher camellia cipher cryptography zig zig-library ziglang
Last synced: 4 days ago
JSON representation
Camellia block cipher written in pure Zig
- Host: GitHub
- URL: https://github.com/sorairolake/camellia-zig
- Owner: sorairolake
- Created: 2024-12-16T23:35:15.000Z (about 2 months ago)
- Default Branch: develop
- Last Pushed: 2025-01-27T07:35:27.000Z (18 days ago)
- Last Synced: 2025-01-27T08:28:03.851Z (18 days ago)
- Topics: block-cipher, camellia, cipher, cryptography, zig, zig-library, ziglang
- Language: Zig
- Homepage:
- Size: 481 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.adoc
- Contributing: CONTRIBUTING.adoc
- License: LICENSES/Apache-2.0.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS.adoc
Awesome Lists containing this project
README
# camellia-zig
[![CI][ci-badge]][ci-url]
**camellia-zig** is an implementation of the [Camellia] block cipher written in
pure [Zig].## Usage
Add this package to your `build.zig.zon`:
```sh
zig fetch --save git+https://github.com/sorairolake/camellia-zig.git
```Add the following to your `build.zig`:
```zig
const camellia = b.dependency("camellia", .{});
exe.root_module.addImport("camellia", camellia.module("camellia"));
```### Documentation
To build the documentation:
```sh
zig build doc
```The result is generated in `zig-out/doc/camellia`.
If you want to preview this, run a HTTP server locally. For example:
```sh
python -m http.server -d zig-out/doc/camellia
```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
.## Changelog
Please see [CHANGELOG.adoc].
## Contributing
Please see [CONTRIBUTING.adoc].
## License
Copyright (C) 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.[ci-badge]: https://img.shields.io/github/actions/workflow/status/sorairolake/camellia-zig/CI.yaml?branch=develop&style=for-the-badge&logo=github&label=CI
[ci-url]: https://github.com/sorairolake/camellia-zig/actions?query=branch%3Adevelop+workflow%3ACI++
[Camellia]: https://info.isl.ntt.co.jp/crypt/eng/camellia/
[Zig]: https://ziglang.org/
[CHANGELOG.adoc]: CHANGELOG.adoc
[CONTRIBUTING.adoc]: CONTRIBUTING.adoc
[AUTHORS.adoc]: AUTHORS.adoc
[_REUSE Specification_]: https://reuse.software/spec/