Use crypto to provide raw bytes for randstr.
add a basic length test for randstr
Merge pull request #12 from racker/use_more_random_source_for_randstr

Use more random source for randstr