Usenet.com

www.Usenet.com

Group Index

Sci Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Problem while working on BlowFish Encryption using C++



What have you got so far?? Let's see some code then maybe we can see
where your having trouble. Indeed if you are having difficulties at
such an early stage (reading bytes from a file) then perhaps you don't
know C++ as well as you should do for this project. I don't know the
workings of Blowfish but I do know C++ enough to help you. Perhaps
someone else can help with the actual cipher implementation. What have
you read on Blowfish?

I think you should be looking into using fstreams, iostreams and maybe
even istreambuf_iterators. You can then use the read() member function
with ifstream and istream (ofstream and ostream for output). Remember
you should be thinking in bytes rather than characters if you want to
encrypt binary files as well as text/ASCII files.

Regards

Jim

[EMAIL PROTECTED] (alden) wrote in message news:<[EMAIL PROTECTED]>...
> I am new here.Can I know who is expert in C++ or Blowfish encryption??
> I need their help.
> 
> I'm currently working on the Blowfish encryption project using
> C++.I'm facing a problem.I wish to encrypt a file with unlimited length.
> For example,it encrypt first 5 character,send to a file.Then continue
> encrypt the next 5 character and send to the same file as previous.
> I try to use block cipher but fail to complete it.Anyone can help
> me,please??



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.