Frank Denis
|
b1bcecf086
|
putc('\n', stdout) or putchar('\n') - pick one
And remove duplicate putchar('\n') to improve code clarity
|
2015-05-27 20:27:07 +02:00 |
|
Frank Denis
|
071c467ff3
|
box demos: do not attempt to print anything past the end of the plaintext
|
2015-05-27 20:05:15 +02:00 |
|
Frank Denis
|
9060457fac
|
Make prompt_input accept fixed-length and variable-length input.
Now that strings have the correct size, but no trailing \0, puts() cannot safely be
used any more.
|
2015-05-27 18:10:28 +02:00 |
|
Frank Denis
|
cf6106e022
|
+ box_detached demo
|
2015-05-27 17:24:20 +02:00 |
|
Frank Denis
|
a549360201
|
Display actual data, do not suggest that the nonce is part of the ciphertext
|
2015-05-27 16:57:51 +02:00 |
|
Frank Denis
|
57fb685157
|
Use meaningful variable names in box.c
|
2015-05-27 16:54:42 +02:00 |
|
Frank Denis
|
67305902ee
|
DRY
|
2015-05-27 16:10:07 +02:00 |
|
Frank Denis
|
a748029632
|
demo_utils -> utils for consistency with other demo files
|
2015-05-27 15:47:49 +02:00 |
|
Frank Denis
|
efbd347cbb
|
Remove inappropriate sodium_memzero() calls
|
2015-05-27 15:46:17 +02:00 |
|
Frank Denis
|
81a7abea7e
|
"buffer" and "buffer size" are way too generic to be useful
|
2015-05-27 15:39:34 +02:00 |
|
Frank Denis
|
ba3fe15b75
|
Indent
|
2015-05-27 13:02:56 +02:00 |
|
Frank Denis
|
fb6bb61a72
|
Dates don't age well
|
2015-05-27 12:43:49 +02:00 |
|
Frank Denis
|
9c613c2e0c
|
Have main() return a value
|
2015-05-27 12:41:43 +02:00 |
|
GraxRabble
|
e99748b1c0
|
removed comment about box_easy having to use padding
|
2014-09-24 20:13:01 -04:00 |
|
GraxRabble
|
2d8c08b01b
|
Got bob and alice mixed up on box.c:87
|
2014-09-24 20:11:50 -04:00 |
|
GraxRabble
|
15ab5f6bf2
|
moved box.c to box_old.c and made a new box.c with
|
2014-09-24 20:08:31 -04:00 |
|
GraxRabble
|
c78c978592
|
added gist examples into demos folder; you can figure out where this belongs
|
2014-09-24 17:40:21 -04:00 |
|