Rail Fence cipher for binary numbers (3 Rails)