summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-06-12 18:01:59 +0200
committerSeppia <nonso@insicuri.net>2016-06-12 18:01:59 +0200
commitda5ade6e929a8c343d821847ffd361f231f01dc5 (patch)
tree23619707d8fa4fd6854444ef8e4b60ef57e931f6 /README.md
parent91facf3cb62d5f8b102d2f567f82b4d5c4b01f74 (diff)
parente43d3106afbead6dcfc172b0edc037bb2d5ebb83 (diff)
downloadonetimebluh-da5ade6e929a8c343d821847ffd361f231f01dc5.tar.gz
onetimebluh-da5ade6e929a8c343d821847ffd361f231f01dc5.tar.bz2
onetimebluh-da5ade6e929a8c343d821847ffd361f231f01dc5.zip
Merge branch 'experimental'
Diffstat (limited to 'README.md')
-rw-r--r--README.md41
1 files changed, 40 insertions, 1 deletions
diff --git a/README.md b/README.md
index acc7d57..0725b82 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,40 @@
-Blblblblbl
+Onetimebluh (Workbluhp in blogress!!)
+======================================
+
+Simple implementation of One Time Pad cipher.
+Capable of generating cryptographically strong random number keys and of usign them to encrypt/decrypt messages of same length with a bitwise XOR function.
+
+Usage
+-------
+
+Example creates two keys of lenght 4096 bytes and use the first as a message and the second as the pad key (just for testing):
+
+```
+onetimebluh --key-gen --nbytes 4096 --output message
+onetimebluh --key-gen --nbytes 4096 --output pad
+onetimebluh --encrypt message --key-file key --output encrypted-message
+onetimebluh --decrypt encrypted-message --key-file key --outptut decrypted-message
+```
+
+You can print the help by running `onetimebluh --help` or `onetimebluh -h`.
+
+```
+ONETIMEBLUH USAGE:;
+onetimebluh [COMMAND] [OPTIONS] ...
+
+COMMANDS:
+
+-d, --decrypt=FILE decrypt message (input) same ad --encrypt, just for the feeling
+-e, --encrypt=FILE encrypt message (input)
+-h, --help print this help
+-g, --key-gen create key file
+
+OPTIONS
+
+-k, --key-file=FILE use key (input)
+-b, --nbytes=NUM number of bytes
+-o, --output=FILE output name
+
+Onetimebluh project repository at http://git.eigenlab.org/Seppia/onetimebluh
+
+```