No description
Find a file
2026-05-19 14:51:41 +02:00
includes feat: usage in --help 2026-05-18 17:52:34 +02:00
libcli@17ba957ed6 feat: --version 2026-05-18 17:52:33 +02:00
libft_ssl@27d2c8d21a chore: update libft_ssl 2026-05-19 14:51:41 +02:00
src feat: usage in --help 2026-05-18 17:52:34 +02:00
.gitignore Initial commit 2026-04-29 15:18:53 +02:00
.gitmodules feat: add libft_ssl 2026-04-29 15:31:45 +02:00
autogen.sh Initial commit 2026-04-29 15:18:53 +02:00
configure.ac feat: cli skel 2026-04-29 21:25:56 +02:00
LICENSE chore: README and LICENSE update 2026-04-29 15:39:32 +02:00
Makefile.am feat: cli skel 2026-04-29 21:25:56 +02:00
README.md doc: update README 2026-05-18 17:52:34 +02:00

ft_ssl

Code Style

  • Allman braces: opening and closing braces each on their own line
  • Yoda conditions: constant on the left (e.g. 0 == val, NULL != ptr)
  • C99 compliant
  • Tabs only, width 4
  • snake_case for functions and variables, SCREAMING_SNAKE_CASE for macros
  • System includes, then a blank line, then local includes
  • Variable declarations aligned with tabs within the function body
  • Static helper functions are forward-declared at the top of the file and defined after the main public function
  • Function definitions (not forward declarations or prototypes) have a newline between the return type and the function name
  • Line continuations are indented 2 tabs past the base scope indentation

Dependencies

Usage

ft_ssl {md5|sha256|whirlpool} [-pqr] [-s string] [file...]

Options:
  -h, --help                     Display this help and exit
  -V, --version                  Display version information and exit
  -p, --stdin                    Echo stdin to stdout and append checksum to output
  -q, --quiet                    Quiet mode: only print the digest
  -r, --reverse                  Reverse the output format (digest then filename)
  -s, --string          <STR>    Hash a string

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Authors

  • lohhiiccc - git