Sqlite cipher example,sample , just as you need