: The wallet.dat file is the default data file for Bitcoin Core and stores both public and private keys.