nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/core: remove uses of Byte for Text
[nit.git]
/
lib
/
crypto
/
xor_ciphers.nit
diff --git
a/lib/crypto/xor_ciphers.nit
b/lib/crypto/xor_ciphers.nit
index
18de9fb
..
aaa18d1
100644
(file)
--- a/
lib/crypto/xor_ciphers.nit
+++ b/
lib/crypto/xor_ciphers.nit
@@
-69,7
+69,7
@@
class SingleByteXorCipher
super Cipher
# Cryptographic key used in encryption and decryption.
- var key: Byte = 0.to_b
+ var key: Int = 0
redef fun encrypt do
var key_bytes = new Bytes.with_capacity(1)