Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: third_party/tlslite/tlslite/utils/RC4.py

Issue 211173006: Perform tlslite 0.3.8 -> 0.4.6 renames ahead of time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Drop the -B Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 """Abstract class for RC4."""
2
3 from compat import * #For False
4
5 class RC4:
6 def __init__(self, keyBytes, implementation):
7 if len(keyBytes) < 16 or len(keyBytes) > 256:
8 raise ValueError()
9 self.isBlockCipher = False
10 self.name = "rc4"
11 self.implementation = implementation
12
13 def encrypt(self, plaintext):
14 raise NotImplementedError()
15
16 def decrypt(self, ciphertext):
17 raise NotImplementedError()
OLDNEW
« no previous file with comments | « third_party/tlslite/tlslite/utils/Python_RSAKey.py ('k') | third_party/tlslite/tlslite/utils/RSAKey.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698