Am I right in saying that if it just says key then that is a private key. Thanks for taking the time to reply.
Yes, things that contain
key at the beginning of the key-value pair are usually followed by the public key as the remainder of the key part of the key-value pair, and the value is usually the private key. However some things do contain the word
key but aren't actually keys, like
keymeta.
For a bitcoin private key, it will have a string of characters which will either begin with a 5, a K or an L? Is this the case with what comes after the "key" in your .dat file.
No. Please don't post if you don't know what you are talking about.
The Bitcoin Core wallet files do not store keys in Wallet Import Format; WIF is not the only format for private keys. It is far more efficient to store things in binary in a different format that is not human readable.