471,310 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

Crypto large file sizes

I'm using the RijndaelManaged class to encrypt files. I have the code
working but appear to be limited to files less than the maximum size of an
integer (about 2GB). The CryptoStream.Read method requires the offset and
count as Integers. If I attempt to use the filestream.length for the count
it will not compile because the filestream.length is a Long. The Long value
make sense as I may have to deal with files that are larger than 2GB.

Is there any way to use the Crypto library to encrypt files larger than 2GB?
Jul 21 '05 #1
0 856

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Ajay Brar | last post: by
1 post views Thread by Ron Vecchi | last post: by
reply views Thread by Bob Williamson | last post: by
25 posts views Thread by tekctrl | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.