mix eh.gen.secret (ehelper v0.1.6)

View Source

Copied from https://github.com/phoenixframework/phoenix/blob/main/lib/mix/tasks/phx.gen.secret.ex

Generates a secret and prints it to the terminal.

$ mix eh.gen.secret [length]

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

The minimum value for length is 12.