fix type in doc
use regexp to check err.message in test
minor refactoring
fix type in doc
#17 explore crypto matter