What Happens When You Add a File?

From @glowkeeper on Sun Mar 12 2017 20:24:40 GMT+0000 (UTC)

The draft white paper says: “Nodes are identified by a NodeId, the cryptographic hash of a public-key”. Is the same process used when I add a file to IPFS? The white paper mentions cryptographic hashes, but not digital signatures. So:

$echo "hello WOOOOOOOORLD" | ipfs add -q

…returns QmdHom8wF6vcMSdWjpFkxCoGcJYPDnKo5qDn3wWn8LGhgN. Is that the signed and hashed id of the file?

Copied from original issue: https://github.com/ipfs/faq/issues/236