Should it?


On Tue, Oct 29, 2013 at 11:00 AM, David Reid <notifications@github.com>wrote:

> In cryptography/hazmat/primitives/padding.py:
>
> > +    def unpadder(self):
> > +        return _UnpaddingContext(self.block_
> size)
> > +
> > +    def pad(self, data):
> > +        padder = self.padder()
> > +        return padder.update(data) + padder.finalize()
> > +
> > +    def unpad(self, data):
> > +        unpadder = self.unpadder()
> > +        return unpadder.update(data) + unpadder.finalize()
> > +
> > +
> > +class _PaddingContext(object):
> > +    def __init__(self, block_size):
> > +        super(_PaddingContext, self).__init__()
> > +        self.block_size = block_size
>
> Should this be public?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/192/files#r7288255>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084