Even less lines if you’re ok with it generating the same secure password every time
Comment on Warning: Your AI-Generated Password Is a Major Security Risk. Here’s What to Use Instead
Diplomjodler3@lemmy.world 1 day ago
It takes a five line Python script to generate a secure password. But no, let’s waste a gigantic amount of energy to have a slop machine do it very badly.
ShinkanTrain@lemmy.ml 1 day ago
kayzeekayzee@lemmy.blahaj.zone 1 day ago
Bet I can do it in less
kayzeekayzee@lemmy.blahaj.zone 1 day ago
Deestan@lemmy.world 19 hours ago
print(‘’.join(__import__(‘random’).sample(etc…for one-lining it :)Diplomjodler3@lemmy.world 1 day ago
Sure. The five lines are just for readability.
kayzeekayzee@lemmy.blahaj.zone 1 day ago
golfing is fun! I do everything in a single line