summaryrefslogtreecommitdiff
path: root/docs/api-docs/common/lib_crypto.txt
diff options
context:
space:
mode:
authorJames O'Gorman <james@netinertia.co.uk>2008-10-07 18:48:42 +0000
committerJames O'Gorman <james@netinertia.co.uk>2008-10-07 18:48:42 +0000
commit9f1d72462aecf47fcbe7c4f5efac855edc868b2b (patch)
tree7aade0cd5fe6e86e4c01f733198228a2e31a6938 /docs/api-docs/common/lib_crypto.txt
parent484050636ea8600ccbb86e73e234513fb7098778 (diff)
Documentation restructuring: part 2 of 2.
Diffstat (limited to 'docs/api-docs/common/lib_crypto.txt')
-rw-r--r--docs/api-docs/common/lib_crypto.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/api-docs/common/lib_crypto.txt b/docs/api-docs/common/lib_crypto.txt
new file mode 100644
index 00000000..9ddafe69
--- /dev/null
+++ b/docs/api-docs/common/lib_crypto.txt
@@ -0,0 +1,28 @@
+TITLE lib/crypto
+
+Provides cryptographic primatives using the OpenSSL implementation.
+
+
+SUBTITLE CipherContexts and CipherDescriptions
+
+A CipherContext is the interface to encryption and decryption, providing a generic interface.
+
+It is constructed with a decrypt or encrypt flag, and a CipherDescription. The CipherDescription specifies which cipher is to be used, the key, and all other cipher specific paramteres.
+
+The CipherContext has support for padding and initialisation vectors.
+
+
+SUBTITLE Random numbers
+
+An interface to the OpenSSL psuedo random number generater is provided.
+
+
+SUBTITLE Digests
+
+An interface to the MD5 digest is provided.
+
+
+SUBTITLE RollingChecksum
+
+The rsync rolling checksum is implemented. The interface is a little tricky to be efficient as the caller must track the position and provide relevant bytes to advance the checksum.
+