EmbLogic's Blog

Implemented successfully 4 bit compression in Multiple Data Compression And Encryption Using Iterative Technique

 

RCS file: projectmdc.c,v
Working file: projectmdc.c
head: 1.15
branch:
locks: strict
	root: 1.15
access list:
symbolic names:
keyword substitution: kv
total revisions: 15;	selected revisions: 15
description:
Introduce header.h file
create datain_file text file and open the
content through file decriptor
read the content from datain_file text file
Use the argc to count the no. of arguements
And argv to store the string in argv array
----------------------------
revision 1.15	locked by: root;
date: 2015/02/14 12:39:24;  author: root; 
state: Exp;  lines: +110 -46
done with 4 bit compression
create compressed_data() and pass 2 copy of
arguement.
file discriptor and second pass the master array
read file and compare with master array index
previously using printf but compression is not
done properly
then simply convert integer to character 
and write the compressed and encrypted data into
compressed_data file successfully.
----------------------------
revision 1.14
date: 2015/02/12 13:07:03;  author: root; 
state: Exp;  lines: +8 -0
*** empty log message ***
----------------------------
revision 1.13
date: 2015/02/09 19:31:30;  author: root; 
state: Exp;  lines: +8 -7
create readchar() function to read the 'ch' from
file and compress the data
create no_of_bits() function to how much bits
are required for compress data
create file_open() function to fetch the first
arguement
----------------------------
revision 1.12
date: 2015/02/09 19:18:10;  author: root; 
state: Exp;  lines: +70 -66
Introduce function in MDC
convert codes into smaller function
----------------------------
revision 1.11
date: 2015/02/05 14:40:28;  author: root; 
state: Exp;  lines: +30 -1
Design the logic for how many data bits are
required for compressed data
by using if else condition
----------------------------
revision 1.10
date: 2015/02/05 13:47:56;  author: root; 
state: Exp;  lines: +3 -2
Now, count the number of compressed character
----------------------------
revision 1.9
date: 2015/02/05 13:39:25;  author: root; 
state: Exp;  lines: +1 -1
introduce break in flag = 0.
----------------------------
revision 1.8
date: 2015/02/05 13:30:27;  author: root; 
state: Exp;  lines: +21 -10
Now able to compress the data in datain_file

read data from file and compare it with master
array
introduce flags
----------------------------
revision 1.7
date: 2015/02/05 11:56:06;  author: root; 
state: Exp;  lines: +4 -4
modified the program just change the value of
charc
change the malloc arguement
----------------------------
revision 1.6
date: 2015/02/05 11:32:07;  author: root; 
state: Exp;  lines: +19 -18
Introduce malloc and realloc function
read character one by one and realloc the memory
successfully
introduce master array and print string on
display
----------------------------
revision 1.5
date: 2015/02/05 10:47:13;  author: root; 
state: Exp;  lines: +1 -1
change the format specifier in argv1
----------------------------
revision 1.4
date: 2015/02/05 10:46:12;  author: root; 
state: Exp;  lines: +1 -1
*** empty log message ***
----------------------------
revision 1.3
date: 2015/02/05 10:43:10;  author: root; 
state: Exp;  lines: +25 -8
*** empty log message ***
----------------------------
revision 1.2
date: 2015/02/05 08:25:39;  author: root; 
state: Exp;  lines: +7 -2
just checking the arguement
----------------------------
revision 1.1
date: 2015/02/04 11:00:43;  author: root; 
state: Exp;
Initial revision
=============================================================================

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>