added params for implode
changed default hashing to sha1. more characters is more better?