Update comments and docs.
More complete tests exercising crypto calls.