Portable NaCl-based crypto library