Rename Encoder to SanePasswordEncoder.

Also made constructor package private.