Security and Communication Networks / 2019 / Article / Alg 1

Research Article

The Prediction of Serial Number in OpenSSL’s X.509 Certificate

Algorithm 1

The function of RAND_add. RAND_add(void b, int n, double entropy).

Input: n, b, where b is divided into 20-byte-length block bi
//entropy is 0 by default
//md is 20-byte states; s is 1023 bytes PRNG states
for i=1 to n do
 t=size()-1
=SHA1
 s[p:p+t mod 1023]=s[p:p+t mod 1023] [0:t]
 p=p+t+1 mod 1023
end for
q=min(q+size(b), 1023)
return , s, p, q

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.