OneSpan Inc. /zigman2/quotes/201429622/composite OSPN +3.91% shares surged more than 20% in the extended session Tuesday after the cybersecurity company reported a surprise profit and topped revenue estimates for the quarter. OneSpan shares, which had been briefly halted before results were released, rallied 29% after hours, following a 3.8% rise to close the regular session at $16.77. The company reported fourth-quarter net income of $4 million, or 10 cents a share, compared with a loss of $25.8 million, or 65 cents a share, in the year-ago period. Adjusted earnings were 17 cents a share. Revenue rose to $64.8 million from $54.5 million in the year-ago quarter. Analysts surveyed by FactSet had forecast a loss of 2 cents a share on revenue of $59.9 million. For the year, OneSpan expects revenue of $229 million to $237 million, while analysts had forecast on revenue of $231.4 million.