Public API in nacl.erl. Tweaks for consistency.