diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-02-22 14:21:38 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | 6b1a6be9c2ae10ff0278390e4238b22fb906377c (patch) | |
tree | 5db45b9c63fcb6d23c87990e2d2b123bddcf4ef1 /tests/settings | |
parent | 7805f34f55f7143e1ebfca982b0654a3ef42e1d0 (diff) |
crypto: use bytes instead of str
The crypto code shouldn't use unicode strings, it should use byte
strings. The problem with using unicode strings (and doing the
conversion internally), is that the crypto code doesn't know what the
encoding should be. We can guess but it's better to just do bytes in
bytes out, and let the calling code deal with encoding and decoding.
Diffstat (limited to 'tests/settings')
0 files changed, 0 insertions, 0 deletions