first pass at crypto module
add crypto module and update synckey test program to use it