[Bin] add secure key generator
This commit is contained in:
parent
acc226a21d
commit
92a0d923b4
@ -464,6 +464,15 @@ case "y"
|
|||||||
xclip -sel clip -t "$TYPE" -i "$FILE"
|
xclip -sel clip -t "$TYPE" -i "$FILE"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Secure key generator
|
||||||
|
:PROPERTIES:
|
||||||
|
:HEADER-ARGS: :shebang "#!/usr/bin/env sh" :tangle ~/.local/bin/skg
|
||||||
|
:CUSTOM_ID: cliutilitiesSecurekeygenerator-obfj0i20mvj0
|
||||||
|
:END:
|
||||||
|
#+begin_src bash
|
||||||
|
tr -cd '[:alnum:]' < /dev/urandom | fold -w 64 | head -n 1 | tr -d '\n'
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Starwars
|
** Starwars
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:HEADER-ARGS: :shebang "#!/usr/bin/env fish" :mkdirp yes :tangle ~/.local/bin/starwars
|
:HEADER-ARGS: :shebang "#!/usr/bin/env fish" :mkdirp yes :tangle ~/.local/bin/starwars
|
||||||
|
Loading…
Reference in New Issue
Block a user