add an $hash plugin
fix coding style
Merge pull request #11 from SBSTP/plugin-hash

Hash plugin.