module Cryptools::Ciphers

Public Instance Methods

single_byte_repeating_xor(bytes, bytes_k) click to toggle source
# File lib/cryptools.rb, line 79
def single_byte_repeating_xor(bytes, bytes_k)
  bytes.map{|b| b ^ bytes_k.first}
end