☰
rustbook
::
encrypt_decrypt
All crates
?
[
−
]
[src]
Function
rustbook
::
encrypt_decrypt
::
xor
fn xor(a: &
str
, b: &
str
) ->
String
XOR
For given two strings with same length
XOR each paired character
Collect output