pub fn add_bytes(left: &[AsciiUppercaseByte], right: &[AsciiUppercaseByte]) -> Vec<AsciiUppercaseByte> {
    if left.len() != right.len() {
        panic!("Key length is not equal to plain text length");
    }

    let mut result = Vec::new();

    for (i, &l) in left.iter().enumerate() {
        result.push(l + right[i]);
    }

    result
}
/// Adds each element of the `left` Vec to the corresponding element in the `right` Vec
/// 
/// # Panics
/// 
/// Panics of `left` and `right` are not of the same length
Adds each element of the `left` Vec to the corresponding element in the `right` Vec
Adds each element of the ` left ` Vec to the corresponding element in the ` right ` Vec
pub fn add_bytes(left: &[AsciiUppercaseByte], right: &[AsciiUppercaseByte]) -> Vec<AsciiUppercaseByte> {
    if left.len() != right.len() {
        panic!("Key length is not equal to plain text length");
    }
    let mut result = Vec::new();
    for (i, &l) in left.iter().enumerate() {
        result.push(l + right[i]);
    }
    result
}
pub fn add_bytes ( left : & [ AsciiUppercaseByte ] , right : & [ AsciiUppercaseByte ] ) -> Vec < AsciiUppercaseByte > { if left . len ( ) != right . len ( ) { panic ! ( " " ) ; } let mut result = Vec :: new ( ) ; for ( i , & l ) in left . iter ( ) . enumerate ( ) { result . push ( l + right [ i ] ) ; } result }
Adds each element of the `left` Vec to the corresponding element in the `right` Vec
Adds each element of the ` left ` Vec to the corresponding element in the ` right ` Vec
left
&[AsciiUppercaseByte]
right
&[AsciiUppercaseByte]
left
&[AsciiUppercaseByte]
right
&[AsciiUppercaseByte]
panics
Panics of `left` and `right` are not of the same length
Panics of ` left ` and ` right ` are not of the same length