Тёмный

Android Studio Tutorial - SQLite Cipher 

EDMT Dev
Подписаться 114 тыс.
Просмотров 20 тыс.
50% 1

Link Donate : paypal.me/edmtdev
Facebook : / edmtdev
Full Database Encryption for SQLite
SQLCipher is an open source extension to SQLite that provides transparent 256-bit AES encryption of database files.
edmt dev, sqlcipher tutorial android, sqlite android tutorial, android studio tutorial, sqlcipher, sqlcipher android studio example, android cipher database, android cipher tutorial, android sqlite, android studio sqlite, sqlite android studio 2017, sqlite database encryption, android development encryption, android studio, android studio 3.0 sqlite crud, android studio algorithm, cipher android, creating android studio 3 app sqlite, edmt dev android studio, encrypt sqllite android stuiod, readable database in android studio, sqlite android, sqlite chipper, sqlite encryption android

Опубликовано:

 

28 окт 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 80   
@vijayanmergu5283
@vijayanmergu5283 6 лет назад
Very Nice.. can you make a tutorial when press button delete old dB and update (replace) with new SQLilte dB
@ahmer7aa
@ahmer7aa 2 года назад
Hi, Please tell me how I can see the SQLiteCipher data inside "Database Inspector" in Android Studio. Hope to hear from you soon! Thank You.
@marksenoriyanto3320
@marksenoriyanto3320 Год назад
hellor sir! , i have problem ,i already put the correct password but still cant open the file in db browser , but if i check the file already encrypted and when im try to do transaction also work , the problem only when i want saw in db browser sir , thankyou
@metacode4696
@metacode4696 Год назад
hello sir, after I use SQLite Cipher. SQLite performance becomes very slow. how to solve this problem?
@erickdeguzman4144
@erickdeguzman4144 5 лет назад
@EDMT that's brilliant tutorial. can you notify me if you try to save database from SD card? Thanks to your tutorial.
@abdulrehmanbhattibhatti1711
@abdulrehmanbhattibhatti1711 6 лет назад
sir how much time for my tutorial that how to make a an app for a website or wordpress site using rest api json showing post and commemts? login signup add to cart menu system nav drawe HOME CART CATEGOTIES CONTACT US PRODUCTS and much more by converting woocomerce site into a pro app like a perfect amazon or olx app professionaly and which framework is best core java in studio VS Ionic 3 or hybrid native developing?? :(
@hamzaashraf6024
@hamzaashraf6024 6 лет назад
Nice Work :D
@eddydn71
@eddydn71 6 лет назад
You're welcome :D
@marzipan7097
@marzipan7097 2 года назад
hello sir! is there a way to access a sqlcipher encrypted RoomDatabase object with a SQLDatabaseHook without having to build an new instance each time, like we do in the original singleton pattern.
@eddydn71
@eddydn71 2 года назад
I will look and create new tutorial, my bro
@yagnik1911
@yagnik1911 5 лет назад
Hello, I have implemented what have said in the video. my project works just fine. then i am extracting database from my emulator and trying to open it in DB Browser For Sqlite. it shows error "Could not open database file. Reason: file is not a database" please help me. i am doing all this on ubuntu OS.
@eddydn71
@eddydn71 5 лет назад
github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.10.1 Try use it my dear :D
@DeadlyCommando69
@DeadlyCommando69 3 месяца назад
is that deprecated? because I try to implement the same code and I cant for instance I cant call getWritableDatabase(PASS_PHRASE) there is not a getWritableDatabase() method that takes an parameter
@dude-hhh
@dude-hhh 2 месяца назад
Yup, same here.
@deven5578
@deven5578 6 лет назад
EDMT dev can i run android studio on my laptop having 1 gb ram 32 bit and 1.24ghz processor if not please solve my problem thanks.
@eddydn71
@eddydn71 6 лет назад
I think will too slow :(
@mehdilaghrissi8835
@mehdilaghrissi8835 6 лет назад
I am developping an android app with SQLiteCipher and i get the following error : net.sqlcipher.database.SQLiteException: file is not a database: , while compiling: select count(*) from sqlite_master; can you help ?
@eddydn71
@eddydn71 6 лет назад
select count(*) from sqlite_master Why you select from sqlite_master ?
@mehdilaghrissi8835
@mehdilaghrissi8835 6 лет назад
I didn't select count(*) from sqlite_master, I followed your video but I get this error My db is test.db
@varunsunny8616
@varunsunny8616 3 года назад
Is this issue solved?Could you please help me out in solving this issue
@damirko
@damirko 6 лет назад
Great Tutorial thank you for taking the time to make it. I was wondering if you could help me i'm having an issue when applying this line: SQLiteDatabase db = instance.getWritableDatabase(PASS_PHARSE); I'm getting the error "getWritableDatabase() in SQLiteOpenHelper cannot be applied to (java.lang.String). Any ideas on how to fix this error? I've been comparing the code i typed to yours and I'm not seeing any differences. I'm working on this under Android Studio 2.3.3 with a min build of 22. Thank you
@eddydn71
@eddydn71 6 лет назад
Please import all library to com....sqlitecipher , not android.os.sqlite :D
@damirko
@damirko 6 лет назад
Yep that did it. Thank you for your help with this. Awesome app.
@sametkurt8481
@sametkurt8481 5 лет назад
@@damirko I am having the issue! Can you please tell me what library you imported exactly?
@sattarsh614
@sattarsh614 4 года назад
How to encrypt ready-made databases through sql-cipher in android studio. pls pls pls help me is very important
@eddydn71
@eddydn71 4 года назад
I will try to research , my dear
@samiulbasir1212
@samiulbasir1212 3 года назад
@@eddydn71 Please help me. I have pre-made database which i made using sqlite db browser i need to encrypt this db. please help 👏
@osamamohsen3993
@osamamohsen3993 6 лет назад
first thanks for all videos , second if you don't want to talk in the video , i hope add sound in the video that make watcher more focus and keep attention. at the end this is just my opinion . THANKS
@eddydn71
@eddydn71 6 лет назад
:D Because my English too bad , my dear :D
@osamamohsen3993
@osamamohsen3993 6 лет назад
EDMT Dev i dont understand any word hindi but i keep watch to learn if you want learn no thing stop you . If you found that hard to make please just keep quite music only. Thanks for interesting
@atulkumar9593
@atulkumar9593 4 года назад
Important Note and Issue: It's working fine in debug mode. When I create release APK. It's creating problem when you store the data. Suggest?
@eddydn71
@eddydn71 4 года назад
what problem, please show me
@atulkumar9593
@atulkumar9593 4 года назад
@@eddydn71 It's solved. My point is When you are using SQLite Cipher in Project during release apk time you have to add proguard rules in proguard file. Otherwise, the application will crash.
@developerkiwi8368
@developerkiwi8368 4 года назад
How can I add proguard rules for SQL Cipher ?
@eddydn71
@eddydn71 4 года назад
gist.github.com/developernotes/3040592 I hope it can help you
@andrecaires3784
@andrecaires3784 6 лет назад
Hi, congratulations again... But I'd like to know how can we save to xls or CSV
@eddydn71
@eddydn71 6 лет назад
I'll try to do that :D
@prashantthakur4191
@prashantthakur4191 6 лет назад
sir....i have a request.... can you make a new activity for the order status....in which we can see the products which are ordered under the Individual OrderID in Eatit App....
@eddydn71
@eddydn71 6 лет назад
Now i've too busy with Uber clone :D I'll do that after Uber clone seriers
@prashantthakur4191
@prashantthakur4191 6 лет назад
EDMT Dev thnku i'll wait....
@snooringcode6594
@snooringcode6594 4 года назад
What if someone decompile the app and get the passphrase from inside the code?
@eddydn71
@eddydn71 4 года назад
:) This is tutorial how to working with SQLite Cipher :) In real app , you must store it with Firebase Remote Config :D
@hamandalygo
@hamandalygo 2 года назад
@@eddydn71 can you please make a tutorial for how to store the key with firebase remote config? And if I do so, will the app still work when the mobile is offline? Thanks.
@phamhaininh8130
@phamhaininh8130 4 года назад
good
@eddydn71
@eddydn71 4 года назад
You're welcome my bro
@samiulbasir1212
@samiulbasir1212 3 года назад
How to encrypt pre-made sqlite database which is made by sqlite db browser. Please help 👏
@eddydn71
@eddydn71 3 года назад
stackoverflow.com/questions/39495820/encrypt-existing-database-with-sqlcipher-in-android Here you are
@samiulbasir1212
@samiulbasir1212 3 года назад
@@eddydn71 I tried a lot, but failed. Please make a tutorial about this how we can protect or secure sqlite pre-made database from asset folder. Hope this will help for many peoples. Thanks
@samiulbasir1212
@samiulbasir1212 3 года назад
@@eddydn71 Some one can easily get the database by unzipping from asset folder. If is it possible to encode my target column from the db it will be help for me.
@satrap4776
@satrap4776 6 лет назад
How to do it on SQLiteAssetHelper !?!?!?!? please guide me . Thank you ..
@eddydn71
@eddydn71 6 лет назад
You need use this libraries to encrypt databse. SQLiteAssetHelper doesn't support
@satrap4776
@satrap4776 6 лет назад
Thank you very much for your answer. But I want to use SQLiteAssetHelper. Do not know the other way to protect the database in SQLiteAssetHelper?
@christophervistal6036
@christophervistal6036 5 лет назад
can I use this for Room Persistence?
@eddydn71
@eddydn71 5 лет назад
Sure my dear
@christophervistal6036
@christophervistal6036 5 лет назад
Is the process of implementing this on Room persistence is the same on what you did?
@hamzaashraf6024
@hamzaashraf6024 6 лет назад
Sir what about UBER clone?
@eddydn71
@eddydn71 6 лет назад
Next tutorial will be publish on Wednesday , my dear :D
@hamzaashraf6024
@hamzaashraf6024 6 лет назад
Ok I am waiting for tutorial
@alisidhu
@alisidhu 6 лет назад
How to store image (jpg) in sqlite database and retrive it from it...kindly make a detail video on it.. thanks
@rishabhrawat2161
@rishabhrawat2161 6 лет назад
Ali Sidhu you can check my github repository which may help you to how to store images in sqlite. But always remember if you store an image greater than 2 MB in sqlite the exception is generated so on that situation you can use the realm database and if your image is less than 2mb you can check my githun repo github.com/RishabhRawatAndroid/SmartCarParking-Android-App/tree/master/app/src/main/java/com/example/rishabh/smartcarparking
@alisidhu
@alisidhu 6 лет назад
rishabh rawat thanks dear.. but the problem is that i have larger image size thats why i am facing this problem.. do you have any solution for karger image size more than 2 mb?
@alisidhu
@alisidhu 6 лет назад
rishabh rawat i tried to use firebase.. but failed there also to find a pic using specfic id.. mean i will assign manually id to a pic and retive that by giving that given id in firebase
@rishabhrawat2161
@rishabhrawat2161 6 лет назад
Ali Sidhu you can use the Huffman compression algorithm on image and compressed image after the image converted into byte array and pass on to the sqlite database. But truly speaking the above method is not very good way to store an image in sqlite because mobile need high computational power for doing this stuff. I discussed earlier you can use the REALM database for storing the large size image upto 16MB. And I also added one thing realm database is more power and faster database as compare to sqlite. So if you want your database will be private use the realm and if you want your database would be access anybody you simply use the sqlite database .
@rishabhrawat2161
@rishabhrawat2161 6 лет назад
Ali Sidhu this is simple task but longer process. I mean you can use the free host website and make a database on the free host server like ooowebhost I think this webhost id free and after creating a database then simply write a 10 to 15 line php script which do the CRUD operations on the database. And after that in android use a retrofit android library and POST operation is performed and set the id as you like and when you retrieve the image simple use the GET operation. You can use the firebase also but in this situation you do a two operation on same time ex firstly upload an image into firebase and after that initialize the DatabaseReference class and putting the uploaded image URL on database and when use you retrieve the image you can go to specific URL with your desired image id and reterive the image onto firebase upload class I think.
@aouone8380
@aouone8380 4 года назад
Your typing speed is really very fast unlike the music..
@eddydn71
@eddydn71 4 года назад
:-? I can't typing slower :( But you can edit speed of video to watch :D
@jigyansurout1889
@jigyansurout1889 6 лет назад
Awesome tutorials dude! Make one tut for Android Wallpaper app ;)
@eddydn71
@eddydn71 6 лет назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-wAV2Uqv9KLo.html You're welcome :)
@gibraanjafar1669
@gibraanjafar1669 3 года назад
The title of the mentions SQLite Cipher. Hope what the creator of this video has shown is SQLCipher and that there is nothing called SQLite Cipher.
@eddydn71
@eddydn71 3 года назад
@.@ We use SQLite Cipher in this project :( SQLite Cipher is name of one type SQLite -> it need password to decrypt database !
@gibraanjafar1669
@gibraanjafar1669 3 года назад
@@eddydn71 okay, thanks man
@chairulridjal
@chairulridjal 6 лет назад
how do i know the password?
@eddydn71
@eddydn71 6 лет назад
Password will be define by DAtabase owner
@kennethandreworellanameza1355
@kennethandreworellanameza1355 6 лет назад
Uber clone?
@eddydn71
@eddydn71 6 лет назад
This is private tutorial about SQLite , i will release next tutorial about UBER Clone on Wednesday
@salemkosemani
@salemkosemani 6 лет назад
uber clone :P
@eddydn71
@eddydn71 6 лет назад
:D Next tutorial will available at Wednesday , my dear
Далее
Android Studio Tutorial - UBER Car animation
46:30
Просмотров 84 тыс.
Encrypt SQLite Databases with SQLCipher
14:58
Просмотров 13 тыс.
Бмв сгорела , это нормально?
01:01
Android Development Tutorial - Remote Update Your App
24:49
Android Studio Tutorial - Ribbon Layout
12:56
Просмотров 11 тыс.