If I want to hide a salary do I still need to provide a salary range

Yes. The job boards always need a salary range...

The job boards still need a minimum and maximum salary range even if you wish the advert to be hidden. This is because some are 'clever' and try to guess the level of seniority you require.