Electronic version of diploma in the US universities? In a job application, I received electronic version of diploma and transcript (not scanned copy, but the official electronic file that the university prepared to be printed on official diploma and transcript papers).

Is it common in the US universities to give the electronic version of diploma and transcript to graduates?

I thought that the only version which will be released is that printed on the university official papers.

Is an electronic version of diploma and transcript as valid as a scanned copy?
Some U.S. universities do release electronic copies of transcripts. They treat these as completely official document, and the documents are supposed to contain additional security features, which the recipient can verify. 

For example, there is an information page about electronic transcripts from the University of Michigan. 

However, if you are concerned about the electronic copy, you could just ask for a paper copy. It is not in any way unusual in the U.S. to ask applicants to have their university send official paper transcripts by mail directly to the potential employer. The applicant will pay the university a small fee to do this, of course, so many employers only request the official transcripts at later stages of the hiring process, and accept informal copies for the initial stages.