How can I get sqlcipher crypto source code and does sqlcipher support data recovery mechanism? - sqlcipher

I just started looking into sqlcipher code base. I have two questions. First, I am interested in the logic/crypto part of sqlcipher source code. It looks to me that this part is implemented in C/C++ but I couldn't able to get the source code. Would you point me to code if it is available. Second, does sqlcipher support a data recovery mechanism if the user forget a password?

The SQLCipher source code is publicly available on Github here. In terms of where you might start looking, I would suggest src/crypto_impl.c. There is no means to extrapolate the data without having the key to the database as the entire content of the database is encrypted.

Related

I-series DSPPGMREF does not show external data structures

I am amazed that I haven't been able to find this e-mail scouring all of the utilities on the AS400 and googling for hours. Seems like this should be a thing. But does anyone know of a utility similar to DSPPGMREF or an API that can be called to show me what versions of external data structures a program was compiled over on the i-series? I have ran into an issue where a production program that appears to be the correct version receives an error when used, but when I re-compile from the supposed source the error no longer exists. I suspect that the program in the change management library was compiled over a different version of data structure somewhere, but would like to be able to prove it. Does anyone know of a way to retrieve the format level of the data structures used in a program?
Thanks in advance!

Can we see the kernel source code for Windows 7?

I study on entropy source using the Random number generator.
So I want to see a kernel source code.
However, I don't exactly know this, and i know this is not known.
Would you tell me about this?
Thanks.
Windows Driver Foundation forbids such actions due to obvious malicious stuff that can happen if the source code leaks
If you have access to enough information about the device you're using, you could try writing a skeleton driver. However, some TRNGs have open-source driver code, so if yours is one of them, you could download that. If those aren't options in your case, unfortunately proprietary software companies do not generally share their source code (though Microsoft does share their code with certain CS departments in academia - if you're affiliated with one, you could look into that).

Portable Frontend Data input interface for SQL Server Database

I have a SQL Server Database, I want a front-end graphical user interface for data input, which can be either web or desktop. But it has to be portable I mean it should be used without additional installation of any program. That front-end interface will be used by many users for input data into Database. Can you please help and suggest me?
Please see the link to the similar question. I find it quite helpful.
Which tool to build a simple web front-end to my database
and this
http://community.spiceworks.com/topic/195850-does-anyone-have-a-quick-and-dirty-way-to-access-ms-sql-data-from-a-web-app
and if you have some free time also this
http://www.academia.edu/4948292/Design_and_Implementation_of_Graphical_User_Interface_for_Relational_Database_Management_System
and potentially this
https://ask.sqlservercentral.com/questions/89751/is-there-a-front-end-application-development-tool.html
I hope it helps (at least a bit!)
Not sure if anyone is still looking for this, but https://beekeeperstudio.io is an open source database gui with a portable build.
Windows has a portable exe
Linux has appimage

Windows Phone 7 Application Code Obfuscation

About to complete a wp7 application, which uses bing map services for locations etc. I need to know if obfuscation will hamper its performance.
There are some tools available like Dotfuscator etc, but concerned about the performance of the app. Please give your suggestions
I do not have much experience with obfuscation, however what I do know is there are two methods.
Simply renaming of variables and functions to make it difficult to read the logic when decompiled using Reflector; and
The other where program flow is be rearranged.
With name obfuscation the IL code and runtime performance is the same. There is apparently a difference in performance with the second method, however the only benchmarks/articles I can find are for Java.
You are deploying to a secure device and file system so there is no need to obfuscate a WP7 application. As Chris pointed out, you can actually get the application package file by intercepting the HTTP request from the marketplace and extracting the GUID as detailed in a blog post by Marius Gheorghe. As Marius explains this is because the XML stream is not encrypted and that the assembly package can be retrieved using a simple request. I would expect Microsoft to patch/fix this soon (and I will mention it to our Microsoft account manager).
As for WP7 obfuscation there is a detailed blog post here that should help.
...
If you want to secure your application, I would spent the time encrypting your persisted data (i.e. save files) so that your users data is secure. That is what did for the WP7 Full House Poker game.
There is only one way to be sure: you should test.
Obfuscation will probably not impact performance much but, again, you should test.
EDIT
Before you obfuscate, do realize that obfuscation is not the same as encryption. Never store any secrets in your client side code!
Performance is hampered but ignorable if you measure in milliseconds, the bottom line is that you may do not obfuscate if you are creating a free application or open source.

How to create PDF reports using PL/SQL

Is there PL/SQL package or engine available which would enable the creation of PDF reports from stored procedures?
If your looking for a freeware or open source package, their is this. I've not used it, but it has good reviews. lPL_FPDF If you have a budget, then this, which enterprise class product, meaning excellent documentation, is available. plpdf.
The commercial package is written in native Pl/SQL so will be very easy to use. The open source package I don't know.
If your running in an Oracle environment, with any of the reports servers, then all of then support PDF being emitted both to the printer and stored in the db as blobs.
Its a fairly tedious task to configure it, from what I remember.
Hope that gets you started.
B
PL_FPDF has many problems, such as 32k page limitations and many bugs. I've modified the code and renamed it to wpdf. You can get wpdf here: http://databaseknowledge.com/services.htm
You may want to look into Oracle Application Express to create PDF reports, but depending on how the output is coming out from your stored procedure, it may not be an easy tool to use.
You can find directions here:
http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm#t1
Oracle Application Express - printing features not to be forgotten. You can use interactive reporting from browser and decide what you need to print. You can apply XSLT also and decide the printing format.

Resources