def appendSpacePadding(str, blocksize=AES_blocksize):
  'Pad with spaces'
  pad_len = paddingLength(len(str), blocksize)
      
  padding = '\0'*pad_len
  
  return str + padding
def appendSpacePadding ( str , blocksize = AES_blocksize ) : pad_len = paddingLength ( len ( str ) , blocksize ) padding = '\0' * pad_len return str + padding
Pad with spaces