.envfile, you will find a setting called
KEY=your-secret-key. This is the SALT that is used to encrypt and decrypt your cookies. It is important to change this key sometime before development. You can generate new secret keys by running:
config/application.pyfile uses this environment variable to set the
--storeflag which will automatically set the
KEY=value in your
.envfile for you:
masonite.sign.Signclass. A complete signing will look something like:
Sign()uses the encryption key in your
config/application.pyfile but you could also pass in your own key.
'password'is equal to the models password.