I have Chrome 33+ in Ubuntu and I see that the cookies are encrypted in a BLOB structure:
CREATE TABLE cookies (creation_utc INTEGER NOT NULL UNIQUE PRIMARY KE
The comments are a bit confusing so just to clarify, this is the chromium source in os_crypt_win.cc so you can see it's just putting the string into a blob and running CryptUnprotectData()
bool OSCrypt::DecryptString(const std::string& ciphertext,
std::string* plaintext) {
DATA_BLOB input;
input.pbData = const_cast(
reinterpret_cast(ciphertext.data()));
input.cbData = static_cast(ciphertext.length());
DATA_BLOB output;
BOOL result = CryptUnprotectData(&input, NULL, NULL, NULL, NULL,
0, &output);
if (!result)
return false;
plaintext->assign(reinterpret_cast(output.pbData), output.cbData);
LocalFree(output.pbData);
return true;
}