'Encrypt the client credentials to other data servers.
Args:
username: This server\'s username.
password: This server\'s password.
Returns:
A serialized DataServerEncryptedCreds proto that can be sent to other
servers.'

def Encrypt(self, username, password):

    creds = data_server.DataServerClientCredentials(users=self.client_users.values())
    result = data_server.DataServerEncryptedCreds()
    result.SetPayload(creds.SerializeToString(), username, password)
    return result.SerializeToString()
