Skip to content

Encrypt Plain text Db (expose sqlcipher_export) #1101

@mahsha

Description

@mahsha

I Hope you expose these functions in sqlite swift API to encrypt plain text DB

try dbConnection.execute("ATTACH DATABASE '\(encryptedPath)' AS encrypted KEY '\(password)';")
try dbConnection.execute("SELECT sqlcipher_export('encrypted');")
try dbConnection.execute("DETACH DATABASE encrypted;")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions