FIXME: newpasswd
This commit is contained in:
parent
8f52aa17c8
commit
928d85fa02
9
.bashrc
9
.bashrc
|
@ -440,9 +440,12 @@ function lastfile () {
|
|||
}
|
||||
|
||||
function newpasswd() {
|
||||
date +%s | sha256sum | base64 | head -c 32 ; echo
|
||||
|
||||
# autre
|
||||
# from llama 3.3 70B
|
||||
tr -dc 'a-hj-km-no-pqrs-tuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ023456789' < /dev/urandom | fold -w 10 | head -n 1
|
||||
|
||||
# base64: pas une bonne idee car limite le nombre de caracteres
|
||||
# date +%s | sha256sum | base64 | head -c 32 ; echo
|
||||
# hexadecimal=base16: pire
|
||||
# openssl rand -hex 32
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue