Source

wheezy.security / src / wheezy / security / crypto / padding.py

Diff from to

src/wheezy/security/crypto/padding.py

     see http://www.di-mgt.com.au/cryptopad.html
 """
 
-from wheezy.security.crypto.comp import b
 from wheezy.security.crypto.comp import chr
 from wheezy.security.crypto.comp import ord
 
         ``s`` - byte string.
 
         >>> from binascii import hexlify
+        >>> from wheezy.security.crypto.comp import b
         >>> from wheezy.security.crypto.comp import n
         >>> n(hexlify(pad(b('workbook'), 8)))
         '776f726b626f6f6b0000000000000008'
         ``s`` - byte string.
 
         >>> from binascii import unhexlify
+        >>> from wheezy.security.crypto.comp import b
         >>> from wheezy.security.crypto.comp import n
         >>> s = unhexlify(b('666f720000000005'))
         >>> n(unpad(s, 8))