Currently browsing

July 13, 2012

Static Data Authentication (SDA)

SDA ensures the authenticity of ICC data. After SDA it is sure that the data from the ICC is real and hasn’t changed by anyone. However SDA doesn’t assure the uniqueness of ICC data. SDA is a digital signature scheme working with asymmetric cryptograhpy. Asymmetric cryptography uses a pair of keys. …

How to Remove duplicate entry from a Table

How to Remove duplicate entry from a Table It’s a quite simple SQL manipulation for dulplicate entry delitions. Some how I am noted it down for a quick references.   — Step-1 [ Create a Table ]   CREATE TABLE AA             (x DECIMAL,              y VARCHAR)   — Step-2 …

C# Razor Syntax Quick Reference

There are good guides about Razor available, but it’s focused on covering the basics of web programming using Razor and inline pages and not just the Razor syntax. So I thought it might be handy to write up a a really concise quick reference about the Razor syntax. Syntax/Sample Razor …

Control a robot with a watch

Control a robot with a watch Some six months ago Texas Instruments announced the Evalbot, a development platform for their Stellaris ARM Cortex-M3 microcontrollers in the shape of a little robot. It took me a while to get hold of one, but now I have one driving happily around in …

C Programming Advantages and Drawbacks of Pointers

C Programming: Advantages and Drawbacks of Pointers Advantages Pointers are more efficient in handling arrays and data tables. They can be used to return multiple values from a function via function arguments. Pointers permit references to functions and thereby facilitating passing of functions as arguments to other functions. The use …

Writing into and reading from a text file in C

Writing into and reading from a text file in C We use fprintf() and fscanf() functions to write into the file and read from file respectively. fprintf()  writes the data to the text file and fscanf() reads the data from from file. The following example illustrates the concept…. Writing into …