AES anyone?

Bedros Hanounik 2bedros at gmail.com
Sun Aug 19 08:55:48 PDT 2007


I like the streaming concept.

First, I'll get AES implementation in D, then I'll adapt it for streaming. I'll make AES class similar to tango.io.digest.Digest class.

my first goal is to get AES D implementation optimized; and at least as fast as openssl AES implementation.




kris Wrote:


> BCS wrote:
> > Reply to Bedros,
> > 
> >> can you explain your idea of streaming?
> > 
> > It would sit on top of another stream object (a socket or file object or 
> > whatever). When it is given data it would encrypt it and pass it out the 
> > other side. Another object at the other end would receive the data and 
> > decrypt it. If, for instance, the intervening data path is a network 
> > socket, then the code that uses the stream would be able to treat the 
> > objects as if they were the socket it's self. As to the 16 byte issue, 
> > undersized packets would be padded and the length would also transfered 
> > with them. How, would be up to the implementation.
> > 
> > 
> > IIRC Tango has a way of doing this sort of filtering.
> 
> Yes, Tango has stream filters to modulate (or even hijack) the content 
> flowing through. Such filters are usually built upon a more generic 
> mechanism though, such as plain old incremental-adjustment (the strategy 
> followed by tango.io.digest classes)
> 
> - Kris
> 
> [snip]




More information about the Digitalmars-d mailing list