﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
266	pycryptopp: we need random-access AES encryption	warner	zooko	"to build the offloaded-uploaded (#116), we need the ability to do AES CTR
mode at arbitrary places in the input stream. I think a second (optional)
argument to {{{aes.AES.process()}}} that accepts a byte offset would do the
trick. I'm imagining something like:

{{{
   def process(self, data, offset=None):
       if offset is None:
           offset = self._last_offset
       block = aes_encrypt(self._key, number_as_string(offset))
       output = xor(data, block)
       self._last_offset = offset + len(data)
       return output
}}}

(with all the appropriate joy of handling block boundaries, of course)
"	enhancement	new	major	0.8.0 (Allmydata 3.0 Beta)	code	0.7.0		pycryptopp		
