public static function encrypt($data) : Encrypted {
      $crypter = new Crypter();

      return $crypter->encrypt($data, self::getAppKey());
    }
public static function encrypt($data) : Encrypted {
      $crypter = new Crypter();

      return $crypter->encrypt($data, self::getAppKey());
    }
public static function encrypt ( $ data ) : Encrypted { $ crypter = new Crypter ( ) ; return $ crypter -> encrypt ( $ data , self :: getAppKey ( ) ) ; }
Encrypt data and return an encrypter object

@param $data

@return Encrypted

@throws \Nuki\Exceptions\Base
Encrypt data and return an encrypter object