Md5 implementation in C language for POS [closed] - c

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can any one tell me how to implement MD5 algorithm in a C program.I want a c Program which captures the given Password and converts its equivalent message digest and save. Actually i need this functionality for a POS Application development.

Here is a public domain implementation of MD5 in C: link.

You should avoid saving the message digest straight away.
For common passwords, you'll likely to find databases to directly map back to the password - just search for 5ebe2294ecd0e0f08eab7690d2a6ee69 with Google or your favorite search engine as an example.
Include a salt to protect against that.

Related

Server design for social app [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am currently designing an app to upload and download files from a server. I want to know what type of server to implement that would be robust enough to handle a lot of data per user and a lot of users.
I realise this is probably a very broad and slightly naive question.
I have done some research I think I have to get a SQL server and create a web service for the database and implement a REST system for interfacing with the service on the device side.
Regards, J
It's not a naive question per se, but you need to provide way more information than that.
If you just like to transfer files: Why not go with the simple, but effective FTP-protocol?

Need to write a program that takes an assembly-language program and produces the corresponding machine language [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am very new to programming and I need to write a program that takes an assembly-language program and produces the corresponding machine language.
I need to write the program in C
Does anyone know any good tutorials I can find to create this program?
What you would want to do is finding a datasheet which describes the different op codes for the assembly instructions you're writing. Try ISA "your processor name" - this might come up with something useful.
It probably will be hard and you will run into a lot of problems, but you'll probably learn something from it.

How to start programming? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I read a lot of books about C/C++ in Linux and write simple programs. Now I want to try myself with some project. What you can recommend to? (Sorry for my bad English)
If you don't know what to do and just want to get a little experience, try implementing the towers of Hanoi, it's a classical programming exercise (the Wikipedia article might seem frightening at first sight, but the actual algorithm is dead-simple and you'll find lots of material about it online, even a lot of sample implementations). First, start with a text-only solution that just prints numbers. Then, try to "draw" the towers using ASCII art. You can also do this with a GUI, but as a novice it's easiest to start with text-based version.

R: How to extract the search results from web database to R data.frame? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
(1) I have a list of protein' names.
(2) I want to search a web database for the biological function of these proteins.
(3) I know if the protein's name is in the database, the information such as "location" and "bioactivity" can be found.
(4) Can I do it auotomatically to extract those information to R's data.frame?
(5) If I cannot do it with R, what is the best way to do this automatically?
Many thanks,
Catherine
RCurl is the package you want, as it can be used to scrape the web. Download it, install it, require() it and read the manual and you should be able to do what you want.
Disclaimer: I have not used the package myself, but its the answer to many webscraping questions on R-help.

how website find them the request come from a browser or from any other [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how website checked that a request come from a browser or from a programs.
in javascript you may use navigator.userAgent. note that this may vary from browser to browser. a good example how to use it can be found at
quirksmode.
However be aware that you can edit the userAgentString at any time using the appropriate browser, script or code. so no absolute guarantee on the result - but at least a starting point.
cheers,
markus
If you would prefer to use server side code, and presuming you are using .net, the Request.Browser property will provide details of the agent making the request.

Resources