Encryption, Post Quantum Cryptography, Elliptic Curve, Digital Signatures, Kyber.
calculate k using two S signatures of two files with hashes z and z’ and signatures S and S’ respectively : S — S’ = k^-1 (z + a*R) — k^-1 (z’ + a*R) = k^-1 (z + a*R — z’ -a*R) = k^-1 (z — z’) So : k = (z — z’) / (S — S’) Once you know k, you can solve for the private key a: S= k^-1 (z + a*R). S*k