HONG KONG — Edward J. Snowden, the former National Security Agency contractor who has acknowledged leaking numerous documents about American surveillance operations around the world, planned his escape from Hong Kong over a surreptitious dinner of pizza, fried chicken and sausages, washed down with Pepsi.

It was a cloak-and-dagger affair. Mr. Snowden wore a cap and sunglasses and insisted that the assembled lawyers hide their cellphones in the refrigerator of the home where he was staying, to block any eavesdropping. Then began a two-hour conversation during which Mr. Snowden was deeply dismayed to learn that he could spend years in prison without access to a computer during litigation over whether he would be granted asylum here or surrendered to the United States.

Staying cooped up in the cramped Hong Kong home of a local supporter was less bothersome to Mr. Snowden than the prospect of losing his computer.

“He didn’t go out, he spent all his time inside a tiny space, but he said it was O.K. because he had his computer,” said Albert Ho, one of Mr. Snowden’s lawyers. “If you were to deprive him of his computer, that would be totally intolerable.”