Write own decryption application


 
Thread Tools Search this Thread
Top Forums Programming Write own decryption application
# 1  
Old 02-01-2011
Write own decryption application

Hi ,

I need some help as I dont know where to start. I need to create a unix decryption application.

The information I have been given is this so far:

the specification of the encryption process is:

NET 2 Cryptography classes.

RijndaelManaged encryption algorithm

SHA512Managed class for hashing keys with a blocksize of 128 and a 32 byte key. The HashSize property of the algorithm is 512 and it generates a 64 byte hash key, but then it only uses the first 32 bytes as the key.


not sure where i need to start. Can someone point me in the right direction please.
# 2  
Old 02-01-2011
Looks to me like you should implement the AES-256 symmetric encryption algorithm and the SHA-512 secure hashing algorithm, although the latter uses no key in any way.

Now the question is why you were given this assignment unless your employer/professor assumes that you know that stuff.
# 3  
Old 02-01-2011
no resourse to do this so asked me to try.
thanks for answers any more help will be appreciated
# 4  
Old 02-01-2011
if you can use perl, CPAN module Crypt::CBC would be helpful
# 5  
Old 02-01-2011
thanks for the reply.

Yes i can use perl.. I will read this carefully.
# 6  
Old 02-04-2011
Ok,

I have downloaded the module i need from Crypt::CBC (Crypt-Rijndael-1.09)



I then run
perl Makefile.PL

I get the following:
Code:
Warning: prerequisite Test::Manifest 1.14 not found.
Writing Makefile for Crypt::Rijndael

tried googling this warning but cannot seem to find what i am looking for ( thats a song i think!)

any advise would be appreciated.

Regards
# 7  
Old 02-04-2011
I'd suggest you use either your distributions package manager (yum/apt-get/...) to install this module, or the CPAN command line perl -MCPAN -eshell to install Perl modules, as both will take care of any dependencies.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to write if condition in shell script for application server?

Hi all, I have a code to create folder in application server through shell script and i want to create if conditional based folder folder=$HOME/test/sample/whatever if ; then echo "$folder already exists, not created." else mkdir -p "$folder" > /dev/null 2>&1 ... (7 Replies)
Discussion started by: Boost
7 Replies

2. Web Development

Apache2 web application- Submit button - write data into a file

Hello, I am newbie on php-mysql and just know only installation. I have an apache2+php5+mysql installed VPS. What I would like to do is that when visitor enters requested data shown in index.html, submit button will run a script to save each field into a file. Here is an example shown in... (1 Reply)
Discussion started by: baris35
1 Replies

3. Shell Programming and Scripting

String encryption and decryption

Hello All, There are so many questions on this and I didn't find any concluded answer. I want to encrypt a string in the script, actually this is a password. I tried using openssl (I am a newbie to openssl), but it is generating a long one which we can't remember. I want to encrypt the... (5 Replies)
Discussion started by: karumudi7
5 Replies

4. UNIX for Dummies Questions & Answers

decryption of .cpt file

Hi i have the path for encrytion file in unix and i want to decrypt the .cpt file in unix and change the password how can i do that . (3 Replies)
Discussion started by: lily
3 Replies

5. Shell Programming and Scripting

decryption issue!

Hi, Something bizarre is happening while decrypting the files. I had a decrypt script which was working smoothly on uname -a Linux ######### 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux After the front-end application was moved to uname -a Linux... (2 Replies)
Discussion started by: dips_ag
2 Replies

6. Shell Programming and Scripting

Password decryption

Hi, I don't know if I am in a correct category with my question. I want to know what decryption-method is used for this password: (1) The first stadium is (its stored in the settings.xml of my software):... (2 Replies)
Discussion started by: Mogli1977
2 Replies

7. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

8. Programming

how to write application for 32 com port

Dear Sir, i m going to use NP5610-16 moxa device for multiport serial communication. i m using fedora-core 6 o.s. after installation it will detect serial ports as /dev/ttyr0,/dev/ttyr1...ttyr32. there are total 32 com ports. now i want to write application which monitor all serial ports and... (6 Replies)
Discussion started by: amitpansuria
6 Replies

9. UNIX for Advanced & Expert Users

which port to write my server application?

I want to write a server application that would accept HTTP requests from client. The server would be on a machine that has no connection to the INTERNET. The clients that would be posting their HTTP requests would be doing so through webbrowser .Thus it would be sort of intranet application.... (0 Replies)
Discussion started by: rraajjiibb
0 Replies

10. UNIX for Dummies Questions & Answers

Decryption software

whats the most sufficient way to make decryption software? What are the recoomendations for one? (3 Replies)
Discussion started by: Phatress
3 Replies
Login or Register to Ask a Question