Frank Denis
|
5a57615f44
|
print_hex() is always followed by putc('\n'), so let it do it directly
|
2015-05-27 21:04:32 +02:00 |
|
Frank Denis
|
a313e0be66
|
Demos: let prompt_input() add extra \n itself
|
2015-05-27 20:53:54 +02:00 |
|
Frank Denis
|
c28886dc42
|
Demos: remove excessive \n
|
2015-05-27 20:02:20 +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
|
a14dc377bf
|
Use meaningful variable names in shorthash demo
|
2015-05-27 17:17:36 +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
|
c78c978592
|
added gist examples into demos folder; you can figure out where this belongs
|
2014-09-24 17:40:21 -04:00 |
|