aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 12:07:34 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 12:07:34 +0200
commitbfed6c3ea24eff22fb6b7f27d192a180e0a95179 (patch)
tree36331ded53186536a4cb4da2a5db37c752396e47
parentAdd libhashsum_init_hasher_from_string + m (diff)
downloadlibhashsum-bfed6c3ea24eff22fb6b7f27d192a180e0a95179.tar.gz
libhashsum-bfed6c3ea24eff22fb6b7f27d192a180e0a95179.tar.bz2
libhashsum-bfed6c3ea24eff22fb6b7f27d192a180e0a95179.tar.xz
Add README
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--README30
1 files changed, 30 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..9f5d46e
--- /dev/null
+++ b/README
@@ -0,0 +1,30 @@
+NAME
+ libhashsum - Library for calculating the cryptographic hashes
+
+DESCRIPTION
+ libhashsum provides a unified interface for several
+ cryptographic hash functions. Currently supported
+ hash functions are:
+
+ Built in
+ MD2, MD4, MD5, RIPEMD-128, RIPEMD-160, RIPEMD-256,
+ RIPEMD-320
+
+ Via libsha1
+ SHA0, SHA1
+
+ Via libsha2
+ SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224,
+ SHA-512/256
+
+ libhashsum makes it easy to select at compile-time which
+ functions to compile support for.
+
+ For each hash function, libhashsum has a dedicated
+ initialiser that may take required parameters for the
+ hash function. It also have a function that can parse
+ a string describing any support function with its
+ parameters. For hash function that do not require
+ any parameters, it has a function that can select
+ the appropriate initialiser based on an enum value
+ that specifies the algorithm.