Spark Authentication

Hellow spark expert,

Can you please tell me that when a user login in the spark, Is the password of the user which goes from the client application (spark) to the server is in a encrypted format.

If So, What kind of encryption algorithm you have used in spark.

Please help me.