{"id":18282556,"url":"https://github.com/rafael-santiago/kryptos","last_synced_at":"2025-10-30T03:30:36.041Z","repository":{"id":19833844,"uuid":"87484974","full_name":"rafael-santiago/kryptos","owner":"rafael-santiago","description":"A multiplatform easy to embed crypto library.","archived":false,"fork":false,"pushed_at":"2025-02-04T02:03:57.000Z","size":2179,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-04T03:18:28.897Z","etag":null,"topics":["blake3","crypto","cryptography","cryptography-library","embedded-c","freebsd","freebsd-kld","internal-dsl","kernel-module","linux","linux-kernel-module","minix","netbsd","netbsd-kernel-module","netbsd-kmod","openbsd","solaris","suckless-implementations","windows","windows-kernel"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafael-santiago.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT-PT_BR.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-06T23:41:35.000Z","updated_at":"2025-01-24T15:12:16.000Z","dependencies_parsed_at":"2025-01-17T03:19:12.219Z","dependency_job_id":"0331fe78-6513-4404-9e26-95b9259fc88a","html_url":"https://github.com/rafael-santiago/kryptos","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-santiago%2Fkryptos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-santiago%2Fkryptos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-santiago%2Fkryptos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-santiago%2Fkryptos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafael-santiago","download_url":"https://codeload.github.com/rafael-santiago/kryptos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238926069,"owners_count":19553430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blake3","crypto","cryptography","cryptography-library","embedded-c","freebsd","freebsd-kld","internal-dsl","kernel-module","linux","linux-kernel-module","minix","netbsd","netbsd-kernel-module","netbsd-kmod","openbsd","solaris","suckless-implementations","windows","windows-kernel"],"created_at":"2024-11-05T13:05:33.639Z","updated_at":"2025-10-30T03:30:30.516Z","avatar_url":"https://github.com/rafael-santiago.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kryptos\n\n![linux-ci](https://github.com/rafael-santiago/kryptos/actions/workflows/linux-forge.yml/badge.svg?branch=main) ![freebsd-ci](https://github.com/rafael-santiago/kryptos/actions/workflows/freebsd-forge.yml/badge.svg?branch=main) ![netbsd-ci](https://github.com/rafael-santiago/kryptos/actions/workflows/netbsd-forge.yml/badge.svg?branch=main) ![openbsd-ci](https://github.com/rafael-santiago/kryptos/actions/workflows/openbsd-forge.yml/badge.svg?branch=main) ![windows-ci](https://github.com/rafael-santiago/kryptos/actions/workflows/windows-forge.yml/badge.svg?branch=main)\n\nI started the core of this project on about 2004 and since then it is being an attempt of building a tiny and straightforward\ncrypto library which can be easily integrated with user and also kernel mode code.\n\nUntil now these are the supported platforms:\n\n| **Platform** | **User mode** | **Kernel mode** |\n|:------------:|:-------------:|:---------------:|\n|![FreeBSD](https://github.com/rafael-santiago/kryptos/blob/main/etc/small-freebsd.png \"FreeBSD\")|:heavy_check_mark:|:heavy_check_mark:|\n|![Linux](https://github.com/rafael-santiago/kryptos/blob/main/etc/small-tux.png \"Linux\")|:heavy_check_mark:|:heavy_check_mark:|\n|![OpenBSD](https://github.com/rafael-santiago/kryptos/blob/main/etc/small-puffy.png \"OpenBSD\")|:heavy_check_mark:|:x:|\n|![NetBSD](https://github.com/rafael-santiago/kryptos/blob/main/etc/small-netbsd-flag.png \"NetBSD\")|:heavy_check_mark:|:heavy_check_mark:|\n|![MINIX](https://github.com/rafael-santiago/kryptos/blob/main/etc/small-raccoon.png \"MINIX\")|:heavy_check_mark:|:x:|\n|![SOLARIS](https://github.com/rafael-santiago/kryptos/blob/main/etc/small-solaris-sun.png \"Solaris\")|:heavy_check_mark:|:x:|\n|![Windows](https://github.com/rafael-santiago/kryptos/blob/main/etc/small-windows-logo.png \"Windows\")|:heavy_check_mark:|:heavy_check_mark:|\n\n## Features\n\n**Stream cipher**: ``ARC4``, ``SEAL``, ``RABBIT``, ``Salsa20``, ``ChaCha20``.\n\n**Block cipher**: ``AES``, ``DES``, ``3DES``, ``3DES-EDE``, ``IDEA``, ``RC2``, ``RC5``, ``RC6``, ``FEAL``, ``CAST5``,\n``Camellia``, ``SAFER-K64``, ``Blowfish``, ``Serpent``, ``TEA``, ``XTEA``, ``MISTY1``, ``MARS``, ``PRESENT``, ``SHACAL-1``,\n``SHACAL-2``, ``NOEKEON``, ``GOST``, ``TWOFISH``.\n\n**Modes of operation**: ``ECB``, ``CBC``, ``OFB``, ``CTR``, ``GCM``.\n\n**Cryptographic hashes**: ``SHA-1``, ``SHA-224``, ``SHA-256``, ``SHA-384``, ``SHA-512``, ``MD4``, ``MD5``, ``RIPEMD-128``,\n``RIPEMD-160``, ``SHA3-224``, ``SHA3-256``, ``SHA3-384``, ``SHA3-512``, ``KECCAK-224``, ``KECCAK-256``, ``KECCAK-384``,\n``KECCAK-512``, ``BLAKE2s-256``, ``BLAKE2b-512``, ``BLAKE2s-N``, ``BLAKE2b-N``, ``BLAKE3``, ``Tiger``, ``Whirlpool``.\n\n**Non-cryptographic hashes**: ``djb2`` (string hashing), ``SipHash``.\n\n**Message authentication code**: ``HMAC``, ``Poly1305``, ``SipHash`` (recommended for short messages only),\n``GCM`` (for all 128-bit block ciphers).\n\n**PK crypto**: ``RSA``, ``RSA-OAEP``, ``El Gamal``, ``RSA-EMSA/PSS``, ``DSA``, ``ECDSA``, ``DH``, ``ECDH``.\n\n**CSPRNG**: From the system (default one), ``Fortuna``.\n\n**Codification stuff**: ``Base64``, ``Base32``, ``Base16``, ``UUEncode``.\n\n**Compression stuff**: ``Huffman coding``.\n\n**Key derivation functions**: ``HKDF``, ``PBKDF2``, ``Argon2``.\n\n**One-time passwords**: ``HOTP``, ``TOTP``.\n\n**Extras**: Common API between user space / kernel space (``Windows``, ``FreeBSD``, ``NetBSD`` and ``Linux``), ``RAM`` swapping\ncares, data wiping when freeing memory, ``PEM`` as its common input/output (for some algorithms), convenience function macros\nto make it easy to use all available cryptographic functions (``C99`` required).\n\nIn order to know more you should start [here](https://github.com/rafael-santiago/kryptos/blob/main/doc/README.md).\n\nThis library is licensed under ``GPLv2`` if for some reason it does not fit into your stuff you can contact me and let's\ntalk about.\n\n---\n\n**Bear in mind**: Use this software at your own risk. I am not responsible for any misuse of it, including some kind of damage,\ndata loss etc. The software is provided with no warranty. Also watch the crypto regulations for your country and the licenses\nof the current available ciphers before using this library.\n\n**Remark**: I do not provide pre-builts, if you have found any pre-built of this library somewhere, I **do not** endorse it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafael-santiago%2Fkryptos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafael-santiago%2Fkryptos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafael-santiago%2Fkryptos/lists"}