Last active
February 3, 2022 10:18
-
-
Save kisssko/61290ea56df10a9307eb7865c6b475a3 to your computer and use it in GitHub Desktop.
SQL (sqlite3) password generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH RECURSIVE t(x) AS (SELECT 0 UNION ALL SELECT x + 1 FROM t LIMIT 8 * 16) | |
SELECT group_concat(substr('1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', | |
abs(random()%(62))+1,1), '') | |
AS PASSWORD FROM t GROUP BY x % 16; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment