refine logging
add libsodium
update ctypes_libsodium.py
use larger bufsize
bug fix
update