0
Help us understand the problem. What are the problem?

posted at

シークレットキー作成

nodeのcryptoモジュールを使うと簡単にシークレットキーを作成できます。

npm i crypto
node
> require('crypto').randomBytes(64).toString('hex')
'032bb3825ed806cc184267557995068ea4eee83ec7559f0f38fbdba3527193d47854ba8836c8a78ac8f8e959ad6918a38be18c3d0fec332082d62f84a3e84198'

↓こちらの動画の4:15:00ぐらいに出てたテクニックです。
https://www.youtube.com/watch?v=f2EqECiTBL8&t=14985s&ab_channel=DaveGray

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
0
Help us understand the problem. What are the problem?