luzifer / go-dhparam Goto Github PK
View Code? Open in Web Editor NEWPure Go implementation of OpenSSL dhparam generator
License: Apache License 2.0
Pure Go implementation of OpenSSL dhparam generator
License: Apache License 2.0
The DH parameters generated by this library seem to fail the test with OpenSSL. This is also causing the unit tests to fail with recent versions of OpenSSL.
For example, these are 2048-bit DH Parameters generated by the library:
-----BEGIN DH PARAMETERS-----
MIIBCAKCAQEAy6CkRp2rz5SNFYAfnLx8KCor7jwWzUXQfd4hKM4DJ4cLwraCrUT4
+w0m4cqd7cduZgD7k72PY+RpAKwF7moQpQlhx1kvQ7MzdincUU1/sOmon4DUimbm
KnHB6u4C8s2Wy8E5bH9pbOoKPqvry/8J6ENLY+mkskhJnUxE5U9aWoAsiKGXlo8v
ixlvqiLSwqrd5gNZw44pVL3bX860tZaQ1kDiyQOTpxFlSshlGy+5vMGTwtUbM37g
eukC8VLabLOa4GFq3lI7eCknaHDedDFvp8v95zGMG8uTjqz950U+YINNtIGb4wZ8
vHmzvQ6PClkGTVTief5/Rv34ZdJFp7CIAwIBAg==
-----END DH PARAMETERS-----
Testing them:
$ openssl dhparam -inform PEM -in test.pem -check -noout -text
PKCS#3 DH Parameters: (2048 bit)
prime:
[...]
generator: 2 (0x2)
p value is not a safe prime
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.