title: Decrypt with Fernet [Python]
body: <p>I am currently working with a login system and I want to decrypt a password that is stored in my database (It is encrypted from the beginning)</p>
  
  <p>I've tried this:</p>
  
  <pre><code>from cryptography.fernet import Fernet
  
  key = Fernet.generate_key()
  cipher_suite = Fernet(key)
  
  # THIS IS STORED IN MY DATABASE FOR EXAMPLE
  password = "gAAAAABWC9P7-9RsxTz_dwxh9-O2VUB7Ih8UCQL1_Zk4suxnkCvb26Ie4i8HSUJ4caHZuiNtjLl3qfmCv_fS3_VpjL7HxCz7_Q=="
  
  passwordChosen = password.decode('utf-8')
  decryptedPasswordDB = cipher_suite.decrypt(passwordChosen)
  
  print(decryptedPasswordDB)
  </code></pre>
  
  <p>I'm getting the error "InvalidToken"...</p>
  
  <p>I want the decryptedPasswordDB varaible to print the actually password. </p>
  
  <p>I appreciate all the help. Thanks.</p>