Quick answer
Здра́вствуйте · Приве́т
zdrávstvuyte / privét — polite and informal — the choice matters
The options
The word that scares beginners
Здра́вствуйте has four consonants in a row and nobody pronounces them all. In practice it sounds like “zdrás-tvuy-tye”, and in fast speech almost “drás-tye”. Say it that way and you will sound more native, not less.
What you hear back
Typical mistakes
Приве́т to an official or an older stranger
Здра́вствуйте
приве́т is for people you would call ты.
До́брой но́чи as a greeting
До́брый ве́чер
Споко́йной но́чи is what you say when leaving, not arriving.
Check yourself
You greet your friend’s grandmother. What do you say?