simple constructor that receives a key or uses default key = 0
(self, key = 0)
| 19 | class XORCipher(object): |
| 20 | |
| 21 | def __init__(self, key = 0): |
| 22 | """ |
| 23 | simple constructor that receives a key or uses |
| 24 | default key = 0 |
| 25 | """ |
| 26 | |
| 27 | #private field |
| 28 | self.__key = key |
| 29 | |
| 30 | def encrypt(self, content, key): |
| 31 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected