Make the Password class extensible (custom algorithms can be added)