check integrity of libsodium