crypt::encode($text, $key = null, $mode = 'blowfish')

Encodes a string

  • $text (string)
  • $key (string)
    An optional encryption key
  • $mode (string)
    Check out the $encryption array for available modes
  • return (string)