56 lines
1.2 KiB
TeX
56 lines
1.2 KiB
TeX
\documentclass[a4paper,12pt]{article}
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage{amsmath}
|
|
\usepackage{amssymb}
|
|
\usepackage{listings}
|
|
\usepackage{xcolor}
|
|
\usepackage{hyperref}
|
|
\usepackage{geometry}
|
|
|
|
\geometry{margin=2.5cm}
|
|
|
|
\title{\textbf{libft\_ssl} \\ \large Cryptographic Hash Functions}
|
|
\author{lohhiiccc}
|
|
\date{}
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
\tableofcontents
|
|
\newpage
|
|
|
|
\section{Introduction}
|
|
|
|
\texttt{libft\_ssl} is a C library implementing cryptographic hash functions
|
|
from scratch. A cryptographic hash function maps an arbitrary-length input to a
|
|
fixed-size digest. This operation is deterministic and one-way: it is
|
|
computationally infeasible to recover the original input from its digest.
|
|
|
|
The library currently implements the following algorithms:
|
|
|
|
\begin{itemize}
|
|
\item \textbf{MD5} - produces a 128-bit digest.
|
|
\item \textbf{SHA-256} - produces a 256-bit digest.
|
|
\item \textbf{Whirlpool} - produces a 512-bit digest.
|
|
\end{itemize}
|
|
|
|
These functions are commonly used for data integrity verification, digital
|
|
signatures, and message authentication codes (MACs).
|
|
\newpage
|
|
|
|
\section{Library core}
|
|
|
|
\newpage
|
|
|
|
\section{MD5}
|
|
|
|
\newpage
|
|
|
|
\section{SHA-256}
|
|
|
|
\newpage
|
|
|
|
\section{Whirlpool}
|
|
\end{document}
|