hi guys
how r is everyone???!! i hope u r fine and ok
goodmorning....
guys i write code and i need ur help with it....
let take example to make problem clear 2 u
-----------------------------------------------------------------------
m_int2 =
welcome to elgamal encryption part
>> m_int2 = double(m_int2)
m_int2 =
Columns 1 through 8
119 101 108 99 111 109 101 32
Columns 9 through 16
116 111 32 101 108 103 97 109
Columns 17 through 24
97 108 32 101 110 99 114 121
Columns 25 through 32
112 116 105 111 110 32 112 97
Columns 33 through 34
114 116
maple('m:=',m_int2)
ans =
m := matrix([[119, 101, 108, 99, 111, 109, 101, 32, 116, 111, 32, 101, 108, 103, 97, 109, 97, 108, 32, 101, 110, 99, 114, 121, 112, 116, 105, 111, 110, 32, 112, 97, 114, 116]])
------------------------------ upto here everything is normal untill now
now come to the line makes problem 2 me,,, the line is
maple('c2:= m*k^rr1 mod P')
ans =
c2 := 908*m
as u can see guys, the result of c2 must be number only, i mean maple function should takes each element in matrix m and multiply it with k to the power of rr1,since value of rr1 is known by user.
but here result of c2=908*m whereas it should be in this form c2=908*112(112 is example) not should be the real value of resultant multiplication.
i wish guys u understand my point and make it clear 2 u
waiting ur reply and comment guys.
thank u very much
buy buy