18 lines
399 B
Plaintext
18 lines
399 B
Plaintext
+ libecrypt
|
|
|
|
A library which provides a random string generation function.
|
|
|
|
+ Usage
|
|
|
|
#include <libecrypt.h>
|
|
|
|
int main() {
|
|
ecrypt(PASSWD_LENGTH);
|
|
}
|
|
|
|
(user)$ gcc prog.c -L. -lecrypt -o prog
|
|
|
|
+ Installation
|
|
|
|
Run 'make static' to compile a static library, or 'make shared' to compile a shared library. Then, run 'make install-static' or 'make install-shared' depending on what you ran previously.
|