Typically we've treated these as private in other places so I should probably change both `salt_length` and `algorithm` to private here.