SAN FRANCISCO — Ronald Sarian, who joined eHarmony Inc. in 2013 after nearly three decades as a litigator, is a little bit geeky and a little bit rock-and-roll.

Sarian plays rock guitar and often rides a Harley to eHarmony’s Santa Monica headquarters. But ask him about his company’s security and privacy measures, and he’ll rattle off technologies with a coder’s ease.