Implement native DJB with new C interface.

Closes #67.