cipher stream

27 views
Skip to first unread message

cdenley

unread,
Nov 12, 2009, 9:08:54 AM11/12/09
to As3Crypto Discussion List
I'm trying to encrypt large files while writing the encrypted data to
a socket (FTP upload). The files are too large to read into memory,
and I don't want to write an encrypted copy to disk, so I need to
encrypt the source file one piece at a time. I can't seem to find any
function to append or update data, though, and the "encrypt" function
seems to encrypt each ByteArray individually. Is there any way to
accomplish this?

cdenley

unread,
Nov 12, 2009, 10:58:48 AM11/12/09
to As3Crypto Discussion List
I always figure it out right after I post for help. With CBC mode, you
just have to set the IV to the last block of cipher text for
subsequent calls to encrypt.
Reply all
Reply to author
Forward
0 new messages