ahmeddeia
Member level 2
Al salam alikom
h r u all? i hope ur are fine
well if i want to multiply 135 by 2 as both are hexadecimals using GF(2^8) multiplication rule by hand we get the decimal result =21
but when i define them in matlab as GF elements---> the result become= 19 ??? well what wrong???
knowing that i use the following command:
gf(135,8)*gf(2,8)
and the result is
ans = GF(2^8) array. Primitive polynomial = D^8+D^4+D^3+D^2+1 (285 decimal)
Array elements =
19
can u please help me??
thanks and salam alikom
h r u all? i hope ur are fine
well if i want to multiply 135 by 2 as both are hexadecimals using GF(2^8) multiplication rule by hand we get the decimal result =21
but when i define them in matlab as GF elements---> the result become= 19 ??? well what wrong???
knowing that i use the following command:
gf(135,8)*gf(2,8)
and the result is
ans = GF(2^8) array. Primitive polynomial = D^8+D^4+D^3+D^2+1 (285 decimal)
Array elements =
19
can u please help me??
thanks and salam alikom