Fixed for digest function may give out newlines

in recent Ruby implementations only?
Revamped test file to be actually functional
More long password fix
Version bump