First working version of the netcrypt sample.