summaryrefslogtreecommitdiffstats
path: root/combox/crypto.py
Commit message (Collapse)AuthorAgeFilesLines
* Copyright changed.Siddharth Ravikumar2016-03-011-1/+1
| | | | From combox contributors -> Dr. Robert C. Green II.
* Rewrote docstrings in combox.crypto module.Siddharth Ravikumar2015-12-241-29/+100
| | | | It is sphinx friendly now.
* authors -> contributors.Siddharth Ravikumar2015-12-221-1/+1
|
* .py files coding set to utf-8.Siddharth Ravikumar2015-12-221-0/+2
|
* combox/crypto.py: the split_and_encrypt function is timed now.Siddharth Ravikumar2015-10-151-0/+9
|
* modded combox.crypto.decrypt_and_glue - added new arg called `write'Siddharth Ravikumar2015-02-261-4/+7
| | | | | - 'write' is set to True by set default. - If `write' is set, then the reconstructed file content is written to disk.
* Refactored combox.crypto.split_and_encrypt function.Siddharth Ravikumar2015-02-201-5/+12
| | | | Now it accepts an optional third argument `fcontent' (defaults to None) which contains the contents of the file `fpath'.
* combox/crypto.py: corrected typo in docstring of decrypt_and_glue function.Siddharth Ravikumar2015-02-191-1/+1
|
* updated copright year.Siddharth Ravikumar2015-01-201-1/+1
| | | | | | | | | | | | modified: combox/cbox.py modified: combox/config.py modified: combox/crypto.py modified: combox/events.py modified: combox/file.py modified: tests/config_test.py modified: tests/crypto_test.py modified: tests/events_test.py modified: tests/file_test.py
* combox/crypto.py: relative_path function is used to get the file/directory's ↵Siddharth Ravikumar2015-01-141-4/+9
| | | | basename.
* combox/crypto.py: removed a `.' that somehow crept into the file at the ↵Siddharth Ravikumar2015-01-131-1/+0
| | | | bottom :<
* combox/crypto.py: wrote split_and_encrypt & decrypt_and_glue functionsSiddharth Ravikumar2015-01-131-0/+61
|
* added back combox/config.py and combox/crypto.pySiddharth Ravikumar2015-01-121-0/+84
|
* consolidated everything into combox/combox.py.Siddharth Ravikumar2015-01-121-84/+0
| | | | | | | | | | | | tests were removed. will write tests using `nose` later. renamed: combox/file.py -> combox/combox.py deleted: combox/config.py deleted: combox/crypto.py renamed: tests/test_config.py -> tests/combox_tests.py deleted: tests/files/the-red-star.jpg deleted: tests/test_crypto.py deleted: tests/test_file.py
* Added crypto.py: Contains function that encrypt data and decrypt ciphers ↵Siddharth Ravikumar2014-11-051-0/+84
using AES. Functions defined: pad, encrypt, decrypt, encrypt_shards, decrypt_shards. Also added: tests/test_crypto.py