TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Prime number as a service

7 pointsby mustak_imalmost 7 years ago

1 comment

mustak_imalmost 7 years ago
This generates two random prime numbers of size 1024 and 2 respectively. Originally needed to perform diffie-hellman key exchange to generate private keys for <a href="https:&#x2F;&#x2F;justa.ml" rel="nofollow">https:&#x2F;&#x2F;justa.ml</a>. Eventually I worked on other projects that required this - so I thought to make this a service for other apps to consume. Originally used a script to generate some large primes and saved them in a file. So this service does not generate them on the fly.
评论 #17330469 未加载