"Shalom" is a Hebrew word meaning peace, harmony, wholeness, completeness, prosperity, welfare and tranquility and can be used idiomatically to mean both "hello" and "goodbye".

In Hebrew, words are built on "roots", generally of three consonants. When the root consonants appear with various vowels and additional letters, a variety of words, often with some relation in meaning, can be formed from a single root. Thus from the root "sh-l-m" come the words "shalom" ("peace, well-being"), "hishtalem" ("it was worth it"), "shulam" ("was paid for"), "meshulam" ("paid for in advance"), "mushlam" ("perfect"), and "shalem" ("whole").

"Shalom" is also common in modern Hebrew in Israel, as a given name or a surname. It is usually used by men as a given name but there are women named Shalom as well such as the model Shalom Harlow.

More Info: en.wikipedia.org