No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Arthur Poulet 2e72606370 Merge pull request #1 from aimxhaisse/master 3 years ago
.gitignore Added a makefile compiling a tiny program 8 years ago
Makefile added deciphering, refactored some code 8 years ago
README.md Update README 3 years ago
crypt.php added scripts to cipher/encipher a message 8 years ago
decrypt.php added scripts to cipher/encipher a message 8 years ago
des.c added a moulinette to valid the implementation, correctly enciphering/deciphering /bin directory with random keys :) 8 years ago
des.h added license 8 years ago
key.c added deciphering, refactored some code 8 years ago
main.c refactored some code 8 years ago
mode.c added a moulinette to valid the implementation, correctly enciphering/deciphering /bin directory with random keys :) 8 years ago
moulinette.php added a moulinette to valid the implementation, correctly enciphering/deciphering /bin directory with random keys :) 8 years ago
tools.c added generation of subkeys (or so I hope) 8 years ago

README.md

des

Description

Yet another C implementation of DES.

Usage

Example of usage :

$ ./des
    usage: des [-de] [-i infile] [-o outfile] [-k=key]
        -e       encrypt infile to outfile using key
        -d       decrypt infile to outfile using key
$ ./des -e -i /bin/ls -o /tmp/ls_encrypted -k "hello!"
$ ./des -d -i /bin/ls_encrypted -o /tmp/ls -k "hello!"
$ diff /tmp/ls /bin/ls

License

Copyright © 2010 C. Chorin, S. Rannou mxs@buffout.org

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.