dstufft/pynacl — pull request #2 by dstufft (2013-02-24 11:59:55+00:00)
Title: Properly handle strings with internal nul

The strings from NaCl can contain nul characters inside the string and are not nul terminated. Using ffi.buffer with an explict size will prevent issues here.