Skip to content

Commit f57e330

Browse files
committed
Update crypt.py
1 parent bebb2a1 commit f57e330

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pynuodb/crypt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ def transform(self, data):
286286
automatically handles encoding bytes into an extended ASCII encoding [0,255] w/ 1 byte per character
287287
Python 3:
288288
bytes objects must be converted into extended ASCII, latin-1 uses the desired range of [0,255]
289-
For unicode strings (characters consisting of more than 1 byte) the values are broken into 1 byte sections and shifted
289+
For utf-8 strings (characters consisting of more than 1 byte) the values are broken into 1 byte sections and shifted
290+
The RC4 stream cipher processes 1 byte at a time, as does ord when converting character values to integers
290291
"""
291292
transformed = []
292293
state = self.__state

0 commit comments

Comments
 (0)