Doubt related to usage of module inverse
football-season
aayushg205_ab756a29c8a09c75
(Aayushg205 Ab756a29c8a09c75)
January 23, 2025, 6:43pm
#1
i am unable to understnad the line
y=((p%w)*modInv(d,w))%w, why do we need modInv of d here?