W3cubDocs

/Phoenix

mix phoenix.gen.secret

Generates a secret and prints it to the terminal.

mix phoenix.gen.secret [length]

By default, mix phoenix.gen.secret generates a key 64 characters long.

The minimum value for length is 32.

© 2014 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix/Mix.Tasks.Phoenix.Gen.Secret.html