Canvas class with strong password routine