Is using weak random numbers for the initialization vector of AES just a theoretical issue?

I’m the maintainer of pypdf, a Python library for reading/manipulating PDF documents. I recently discovered that pypdf used random instead of secrets for …

Generating the initialization vector (IV) in AES
As part of generating the U-Val… Continue reading Is using weak random numbers for the initialization vector of AES just a theoretical issue?

ECDH algorithm – Is it safe and secure to calculate shared key using sibling public/private key pair? [closed]

I have the following JavaScript code, is this safe to do?

Generate sibling public/private key pair.
Derive shared key using said key pair.

I am asking this because typically, a shared key is generated using your own private key and someo… Continue reading ECDH algorithm – Is it safe and secure to calculate shared key using sibling public/private key pair? [closed]