crypto/algorithms/pureaescipher.py
def _unpad(self, s):
        '''
        return s stripped of PKCS7 padding
        '''
        if len(s)%16 or not s:
            raise ValueError("String of len %d can't be PCKS7-padded" % len(s))
        numpads = ord(s[-1])
        if numpads > 16:
            raise ValueError("String ending with %r can't be PCKS7-padded" % s[-1])
        return s[:-numpads]

        return s stripped of PKCS7 padding
        
return s stripped of PKCS7 padding
return s stripped of PKCS7 padding
def _unpad(self, s):
        if len(s)%16 or not s:
            raise ValueError("String of len %d can't be PCKS7-padded" % len(s))
        numpads = ord(s[-1])
        if numpads > 16:
            raise ValueError("String ending with %r can't be PCKS7-padded" % s[-1])
        return s[:-numpads]
def _unpad ( self , s ) : if len ( s ) % 16 or not s : raise ValueError ( "String of len %d can't be PCKS7-padded" % len ( s ) ) numpads = ord ( s [ - 1 ] ) if numpads > 16 : raise ValueError ( "String ending with %r can't be PCKS7-padded" % s [ - 1 ] ) return s [ : - numpads ]
return s stripped of PKCS7 padding
return s stripped of PKCS7 padding
'''
        return s stripped of PKCS7 padding
        '''
self
s