implemented algorithm selection and hash size
rename to hashSize + readme