victor_sudakov: (Default)
[personal profile] victor_sudakov
"openssl passwd" не работает с современными алгоритмами хэширования, поэтому приходится использовать Питон:
python3.6 -c 'import crypt; print(crypt.crypt("MySecretPass",crypt.mksalt(crypt.METHOD_SHA512)))'


Более изящные варианты welcome.

Date: 2018-02-07 07:11 pm (UTC)
mtve: (Default)
From: [personal profile] mtve
perl -le 'print crypt"MySecretPass","\$6\$".join"",(".","/",0..9,A..Z,a..z)[map rand 64,1..16]'

Profile

victor_sudakov: (Default)
Виктор Судаков

November 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 11th, 2026 03:04 pm
Powered by Dreamwidth Studios