converted to bytes before xoring