tizen 2.4 release
[external/nettle.git] / README
1 What is Nettle? A quote from the introduction in the Nettle Manual:
2
3   Nettle is a cryptographic library that is designed to fit easily in more
4   or less any context: In crypto toolkits for object-oriented languages
5   (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
6   kernel space. In most contexts, you need more than the basic
7   cryptographic algorithms, you also need some way to keep track of available
8   algorithms, their properties and variants. You often have some algorithm
9   selection process, often dictated by a protocol you want to implement.
10   
11   And as the requirements of applications differ in subtle and not so
12   subtle ways, an API that fits one application well can be a pain to use
13   in a different context. And that is why there are so many different
14   cryptographic libraries around.
15   
16   Nettle tries to avoid this problem by doing one thing, the low-level
17   crypto stuff, and providing a simple but general interface to it.
18   In particular, Nettle doesn't do algorithm selection. It doesn't do
19   memory allocation. It doesn't do any I/O.
20   
21   The idea is that one can build several application and context specific
22   interfaces on top of Nettle, and share the code, test cases, benchmarks,
23   documentation, etc. Examples are the Nettle module for the Pike
24   language, and LSH, which both use an object-oriented abstraction on top
25   of the library.
26
27 Nettle is free software; you can redistribute it and/or modify it under
28 the terms of the GNU Lesser General Public License as published by the Free
29 Software Foundation. See the file COPYING.LIB for details.
30
31 Build nettle with the usual ./configure && make && make check && make
32 install. Read the manual. Mail me if you have any questions or
33 suggestions.
34
35 You can also build Nettle from git, see
36 http://www.lysator.liu.se/~nisse/nettle/ for current instructions.
37
38 You may want to subscribe to the nettle-bugs mailing list. See
39 <URL: http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs>.
40
41
42 Happy hacking,
43 /Niels Möller <nisse@lysator.liu.se>