frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Passgen – Offline C password generator

https://github.com/SilentPuck/passgen
1•silentpuck•5h ago

Comments

fainpul•5h ago
I usually use something like this:

  openssl rand -base64 20
or if openssl is not available:

  head -c 20 /dev/random | base64
It encodes 20 random bytes in base64. Due to how base64 works, using 20 bytes ensures there is always an equals sign at the end. So the password contains uppercase, lowercase, numbers and special characters. Although it's not bulletproof - it could theoretically (I think) generate base64 strings without numbers or only lowercase letters etc.
silentpuck•4h ago
Thanks! That's a solid method and definitely a good fallback when openssl or base64 are available.

passgen is more of a "C-first, offline, no-dependencies" tool — aimed at setups where even those might be unavailable or untrusted. But I’ll definitely keep developing it further, and may add some of the ideas you mentioned. Appreciate the input!

smidgeon•5h ago
Anyone who would run a random binary downloaded from the internet will probably be using the password "password"

Asteroid Day – UN-sanctioned global awareness campaign

https://asteroidday.org/
1•T-A•38s ago•0 comments

Show HN: UniLinkPay – One smart link to get paid from anywhere

https://unilinkpay.com
1•freebzns•1m ago•0 comments

Cyberattack on Radix: Federal Administration data also affected

https://www.news.admin.ch/en/newnsb/T5AZeWNEPFGe
1•OptionOfT•1m ago•0 comments

The Digital Antiquarian

https://www.filfre.net/
1•luckys•3m ago•0 comments

Underestimated Methane Emissions from Non-Producing Oil and Gas Wells in Canada

https://pubs.acs.org/doi/10.1021/acs.est.4c05602
1•PaulHoule•3m ago•0 comments

Make Fun of Them

https://www.wheresyoured.at/make-fun-of-themy/
1•zzzeek•3m ago•0 comments

Surprising but True

https://quarter--mile.com/surprising-but-true
1•squidhunter•6m ago•0 comments

PI(M)P Your Clock

https://blog.broulik.de/2025/06/pimp-your-clock/
1•HieronymusBosch•6m ago•0 comments

Scribble-based forecasting and AI 2027

https://dynomight.substack.com/p/scribbles
1•crescit_eundo•8m ago•0 comments

Wrote this in a 48-hour hackathon last weekend. AI is so enabling and empowering

https://old.reddit.com/r/IndieDev/comments/1locahd/wrote_this_in_a_48hour_hackathon_last_weekend_so/
1•gametorch•9m ago•0 comments

A Review of Alpha School

https://www.astralcodexten.com/p/your-review-alpha-school
1•venkii•10m ago•0 comments

Microsoft Authenticator Will Stop Supporting Passwords

https://it.slashdot.org/story/25/06/30/1631240/microsoft-authenticator-will-stop-supporting-passwords
1•jmsflknr•12m ago•1 comments

Bans on gas-powered leaf blowers are spreading around the US

https://www.usatoday.com/story/news/nation/2025/05/31/gas-powered-leaf-blowers-banned/83966488007/
6•geox•12m ago•1 comments

Show HN: Human-Readable Privacy Policy Summaries Powered by LLMs

https://www.privana.org/
2•pearinc•14m ago•1 comments

Why does everyone hate WebP?

https://mattsayar.com/why-does-everyone-hate-webp/
1•MattSayar•14m ago•0 comments

A CarFax for Used PCs; Hewlett Packard wants to give old laptops new life

https://spectrum.ieee.org/carmax-used-pcs
1•rubenbe•15m ago•0 comments

RFK Jr.'S Vaccine Panel Is Turning Misinformation into Policy

https://www.bloomberg.com/opinion/articles/2025-06-30/rfk-jr-s-vaccine-advisory-panel-turns-misinformation-into-policy
2•petethomas•17m ago•0 comments

Corporate best practices for upstream open source contributions

https://optimizedbyotto.com/post/best-practices-corporate-open-source-contributions/
2•exiguus•17m ago•0 comments

Dory – An app switcher for people who can't remember shortcuts

https://apps.apple.com/us/app/dory-app-switcher/id6746273626?mt=12
1•segev_s•18m ago•1 comments

Every Level of Wealth in 13 Minutes [video]

https://www.youtube.com/watch?v=9t2TQ8-mf5w
1•surprisetalk•19m ago•0 comments

Amazon starts blocking piracy apps on Fire TV

https://www.flatpanelshd.com/news.php?subaction=showfull&id=1751008189
2•woldemariam•20m ago•0 comments

DOJ issues directive to strip naturalized US citizens for criminal offenses

https://www.theguardian.com/us-news/2025/jun/30/trump-birthright-citizenship-naturalized-citizens
8•helixfelix•20m ago•1 comments

Chai-2: Zero-shot antibody design in a 24-well plate

https://www.chaidiscovery.com/news/introducing-chai-2
1•birriel•21m ago•0 comments

Fool of a Took: Palantir's Fascism on Campus

https://religiondispatches.org/fool-of-a-took-palantirs-fascism-on-campus/
4•tastyface•21m ago•0 comments

Node.js LGBTQIA+ Stories: Emelia Smith

https://nodejs.org/en/blog/community/2025-06-28-Emelia-Smith
2•exiguus•22m ago•0 comments

KDE's KClock is getting Wayland PiP support for pop-out timers

https://www.neowin.net/news/kdes-kclock-is-getting-wayland-picture-in-picture-support/
1•bundie•24m ago•0 comments

Why Can't Americans Sleep?

https://www.theatlantic.com/magazine/archive/2025/08/insomnia-health-cognitive-behavioral-therapy/683257/
1•thm•25m ago•0 comments

The Nobel Prize in Literature (1958)

https://www.nobelprize.org/prizes/literature/1958/summary/
1•lawrenceyan•25m ago•0 comments

Fireball flies across the sky and causes sonic boom

https://www.cnn.com/2025/06/26/weather/video/fireball-causes-sonic-boom-digvid
2•Bluestein•25m ago•0 comments

Tumblr's move to WordPress and Fediverse integration is 'on hold'

https://www.theverge.com/news/695124/tumblr-wordpress-automattic-fediverse-integration-on-hold-decoder
3•Tomte•26m ago•0 comments