Tuesday, July 29, 2008

Cryptx 5 Beta 1 Release

   Cryptx 5 development has come massive distances after the project almost got scrapped due to various problems faced during development. Although there are minor flaws in it, we are happy to release it as a Beta 1 so that developers from around the world can help make this project better.

the download link for the CR5-B1 is as follows : 

http://www.mediafire.com/?d5n7331z40y

Screen shot
-------------

   Please understand that this release is not fully complete and has some bugs and problems in it. Some known issues are

* No Help included

* Encryption writes log incorrectly

* Decryption does not write a log

* Need to optimise code for execution pipelines

* command line arguments might be needed to be formatted again

* encrypted file size is larger than original or decrypted file.

Features that are already there include :
-----------------------------------------------

* Rich HTA based GUI

* Work History denoting the various steps that went through the development of the project

* CTimer class to follow time taken for processing the data.

* AES 128 bit encryption

* Encrypted data is stored as HEX for added protection.

* Password is not stored in the encrypted file, only a hashed string. (MD5 can be implemented easily for extra protection of the pasword. It can be done from within the HTA interface).

Updates available at : http://www.cryptx5.co.nr

Hoping for some favourable reply ....


Thursday, July 24, 2008

Artistik Expressionz on Eniac '08

    Eniac '08 is a national level technical symposium being organised by the Electrical & Electronics department of Govt. Rajiv Gandhi Institute of Technology, Kottayam.

   Ae got the opportunity for designing the poster, brochure,flex, website and logo for the event. Most of the work is completed by now.

  For further information go to http://www.eniac08.com

Check back for updated info.

Calculate File size with C++

Programming .....

  The following is a C++ program to calculate file size of a file. It has been tested to correctly report file sizes upto 4Gb, ofcourse used 32 bit compiler!

--Begin--

/* getFileSize.cpp
 * Gets the file size of a DiskFile
 *
 * Midhun Hk (Centrum inc Software Solutions)
 * July 2008
 * $ v 0.1
 **/

# inculde <ifstream>
# include <iostream>

void main()
{
    ifstream is;
    unsigned long fileSize = 0L;

    is.open("FileName.bin");   // Open the file
    if(is.good())                    // If file is opened successfully
    {
           // calculate FileSize
           is.seekg(0,ios::end); // move 0 bytes from end
           fileSize = is.tellg();   // get offset
           is.seekg(0,ios::beg); // rewind
     }

      cout<<"File Size is : "<<fileSize<<:" bytes";
}

--End--

Hope this has been useful.

Monday, July 21, 2008

Restarting IIS Service , Installation of IIS after dot net

   This is a technical post that i guess most dot net developers might find useful. I was looking for this for a long time and had to do a lot of time wasting techniques to get stuff sorted out earlier.

   If you are trying to do some ASP.NET programming, and if for some reason installed the IIS Server (Internet Information Services) after installing Visual Studio, the web application would not run. I did this using Microsft Visual Studio.net 2003, so dont know about what differences there are in this respect with 2005 and 2008.

   In this scenario, i was told to uninsatll IIS and Visual Studio, restart the PC, Install IIS first and then the Visual Studio. This was so time consuming and this was the scenerio in our college lab. So most of my classmates had to do this tedious process when they had to run their mini projects. The problem was aggrevated with the lab having only 2 CD Drives.

  Ok, so whats the solution? There is an application called "Administration Utility". It manages the installation and uninstallation of multiple versions of ASP.NET on a single machine.

   Located in the directory "%windir%\Microsoft.NET\Framework\v1.1.4322", where %windir% points to your windows installation dirtectory like c:\winnt\ or d:\windows\

  If multiple versions of the framework are insatlled, you can see various directories in the Framework folder with the version numbers of the frameworks.

  Open up the command Prompt and reach this directory, use

      cd "%windir%\Microsoft.NET\Framework\v1.1.4322

at the command prompt to reach there.

Okay, now you need to invoke the application named "aspnet_regiis.exe". This is the administration utility and is command oriented.

If you type "aspnet_regiis" at the command prompt, it will display the syntax to use. Of them the first two may be of interest.

 -i - Install this version of ASP.NET and update scriptmaps
  at the IIS metabase root and for all scriptmaps below
  the root. Existing scriptmaps of lower version are
  upgraded to this version.

 -ir - Install this version of ASP.NET, register only. Do
  not update scriptmaps in IIS.

So you may use  

    aspnet_regiis -i

or

    aspnet_regiis -ir

to do the job.

Hope this has been useful, :)