def encrypt(self, text):
     return util.ctr_encrypt(text, self.key)
    def encrypt(self, text):
        prepend = 'comment1=cooking%20MCs;userdata='
        append = ';comment2=%20like%20a%20pound%20of%20bacon'

        return util.ctr_encrypt(prepend + urllib.quote(text) + append, self.key)
 def encrypt(self, text):
     return util.ctr_encrypt(text, self.key)
    def encrypt(self, text):
        prepend = 'comment1=cooking%20MCs;userdata='
        append = ';comment2=%20like%20a%20pound%20of%20bacon'

        return util.ctr_encrypt(prepend + urllib.quote(text) + append,
                                self.key)