cDatabaseStructure:
Code: Select all
CREATE TABLE root (
rKey integer PRIMARY KEY AUTOINCREMENT NOT NULL,
cipher char(64),
rootKey char(64),
simplePW blob
);
CREATE TABLE account (
aKey integer PRIMARY KEY AUTOINCREMENT NOT NULL,
accountname char(64) NOT NULL,
accounttype char(64),
username char(64),
password blob,
website nvarchar,
note nvarchar(128)
);
Code: Select all
INSERT INTO root (cipher, rootkey, simplePW)
VALUES ('aes-256-cbc', 'Heather', 'öÀ$Ùm∑÷de(æû3Ë©hàÓË>›¶l')
Code: Select all
INSERT INTO account (accountname,accounttype,website)
VALUES ('Amazon Marketplace','Login','https://www.amazon.com/ap/signin?openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.com%2F%3Fref_%3Dnav_signin&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=usflex&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&')
Code: Select all
put the cDatabaseStructure of this stack into tSQL
put revOpenDatabase("sqlite", tPath,"binary") into tDatabaseID
revExecuteSQL tDatabaseID, tSQL
put the result into tResult1
put the cRootSQL of this stack into tSQL
revExecuteSQL tDatabaseID, tSQL
put the result into tResult2
put the cAccountSQL of this stack into tSQL
revExecuteSQL tDatabaseID, tSQL
put the result into tResult3
It is like LiveCode doesn't want to write those encrypted characters. Any ideas?
Larry