tipsmemo:tips
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
tipsmemo:tips [2025/03/23 09:51] – [sha512でハッシュされたsaltつきパスワードを生成する] admin | tipsmemo:tips [2025/03/23 09:55] (現在) – admin | ||
---|---|---|---|
行 2: | 行 2: | ||
| | ||
- | ===== sha512 | + | ===== Hush されたパスワードを生成する ===== |
+ | ==== sha512 ==== | ||
perl | perl | ||
$ perl -e 'print crypt(" | $ perl -e 'print crypt(" | ||
行 10: | 行 12: | ||
$ openssl passwd -6 -salt SALTsalt password | $ openssl passwd -6 -salt SALTsalt password | ||
$6$SALTsalt$UiZikbV3VeeBPsg8./ | $6$SALTsalt$UiZikbV3VeeBPsg8./ | ||
+ | |||
+ | ==== bcrypt ==== | ||
+ | |||
+ | $ php -r "echo password_hash(' | ||
+ | $2y$10$numGUgDvQ4yy0mflhCoq8efS7xBhG2D1CvoD.bTWZcBr2jkFpCO5S | ||
+ | |||
===== 正規表現 ===== | ===== 正規表現 ===== | ||
tipsmemo/tips.txt · 最終更新: 2025/03/23 09:55 by admin