arithmetic of random bit using gmp library?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ikilobo
    New Member
    • Jun 2010
    • 3

    arithmetic of random bit using gmp library?

    i want to representation the large random bit to operate the arithmetic, like this

    example
    input n=10, then
    10 random bit has create
    A[]=[1011011100]
    B[]=[0010010011]

    i want to divide the array to any part like
    A[]=[[10110],[11100]]
    B[]=[[00100],[10011]]
    _______________ ______xor (per block)
    B[]=[[10010],[01111]]

    how can i implementing it, using the gmp library

    nb: n up to 1000 or more...

    regard,
Working...