Feeds
질문
see, i have this error in my code saying: ??? Attempted to access x(0); index must be a positive integer or logical. Error in ==> abc at 14 x(i)=mod(g^x(i-1), p);
clear all; close all; clc; p = input('Introduceti numarul prim p= '); g = input('Introduceti numarul prim g=...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
see, i have this error in my code saying: ??? Attempted to access x(0); index must be a positive integer or logical. Error in ==> abc at 14 x(i)=mod(g^x(i-1), p); how could index 0 not be a posiitive integer? :
% Implementarea algoritmului Blum Micali % pentru PRNG in Matlab clear all; close all; clc; p = input('Introduceti numarul ...
10년 초과 전 | 답변 수: 1 | 0
