LoginSignup
22
17

More than 5 years have passed since last update.

opensslコマンドでランダム文字列を生成

Posted at

たまに必要になるけど、その時にはいつも忘れているシリーズ。

初期パスワードや何かTokenを生成する時などに。

openssl rand -hex 8

8は長さ。-hexの代わりに-base64も可能で、こっちにすると記号も入ってくる。

22
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
17