For this challenge you are to demonstrate the RAID encodingscheme which uses the XOR function to calculate redundantinformation. Given the following equation:
P = A ⊕ B ⊕ C ⊕ …
Where ⊕ is the XOR operation the above equation is used tocalculate a parity block P given inputs A, B, C, etc. such that if,for example, if B is lost it can be calculate if we have A, B, andP with this equation:
B = P ⊕ A ⊕ C ⊕ …
For this program you need to write the implementation for thefollowing function:
typedef unsigned char byte;
byte* calculateParity(byte* P, const byte* A, const
PayPal Gateway not configured
PayPal Gateway not configured