correct readme
set algorithm in test
pass in encoding, use sha256 by default
document options of main function
1.1.0