Search found 95 matches: ckey

Return to advanced search

Re: How to check variable name of HASH in xHarbour?

Dear Antonio,

Thank you so much, it works fine.
Antonio Linares wrote:Dear Dutch,

Use HHasKey( hHash, cKey ) --> lYesNo
by dutch
Fri Oct 18, 2024 10:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to check variable name of HASH in xHarbour?
Replies: 2
Views: 121

Re: How to check variable name of HASH in xHarbour?

Dear Dutch,

Use HHasKey( hHash, cKey ) --> lYesNo
by Antonio Linares
Fri Oct 18, 2024 9:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to check variable name of HASH in xHarbour?
Replies: 2
Views: 121

Re: AP_SetStatusCode

Dear Otto,

> AP_AddHeader("Another-Header", "HeaderValue")

Do you mean in headers or out headers ? I guess out headers, if so:

AP_HeadersOutSet( cKey, cValue )
by Antonio Linares
Mon Feb 26, 2024 11:50 am
 
Forum: mod_harbour
Topic: AP_SetStatusCode
Replies: 2
Views: 660

Re: Class TOpenAI_ChatGPT by Charles Kwon

... API protocol, the API communicates with the endpoint, and the communication protocol is https. In other words, there is no risk of leakage of cKey because the communication is encrypted. However, if you want to use encryption to protect your key locally, you can encrypt and store your key ...
by CharlesKwon
Thu Feb 01, 2024 12:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Class TOpenAI_ChatGPT by Charles Kwon
Replies: 3
Views: 654

Re: Class TOpenAI_ChatGPT by Charles Kwon

Dear friends,

how wonderful :-)
one question please ... could someone suggest to me a safe way of storing cKey in this context?
on openai they suggest an environment variable...is this a good approach? or is it even necessary to bother?

thank you for your expertice and kind regards
ruth
by Ruth
Wed Jan 31, 2024 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Class TOpenAI_ChatGPT by Charles Kwon
Replies: 3
Views: 654

Re: FullTextSearch

... resultado del FullTextSearh() grabar en esos campos una clave unica, por ejemplo el TimeStamp + Random() (para evitar choques con otros usuarios) cKey:= hb_DateTime()+ StrZero(hb_Random(), 10) Despues se grabara esa key en los distintos registros que conforman el filtro y finalmente se utilizara ...
by hmpaquito
Tue Nov 02, 2021 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FullTextSearch
Replies: 2
Views: 443

Re: From WORDPRESS to DBF-mod harbour

... https://mybergland.com/fwforum/featuredartclesClip3.jpg Preprocessor substitutes |ckey| before inserting the whole source "FEATURED_ARTICLES_ITEM" into your prg file. The advantage of patching is that you release a single ...
by Otto
Mon Sep 20, 2021 6:56 am
 
Forum: mod_harbour
Topic: From WORDPRESS to DBF-mod harbour
Replies: 1
Views: 946

Re: From WORDPRESS to DBF-mod harbour

... https://mybergland.com/fwforum/featuredartclesClip3.jpg Preprocessor substitutes |ckey| before inserting the whole source "FEATURED_ARTICLES_ITEM" into your prg file. The advantage of patching is that you release a single ...
by Otto
Mon Sep 20, 2021 6:32 am
 
Forum: mod_harbour
Topic: From WORDPRESS to DBF-mod harbour
Replies: 3
Views: 672

Re: Documentos de Transporte Portugal y MSXML2.XMLHTTP

Ya lo he conseguido solucionar. Estoy realizando envios sin problemas openssl rand -out Simkey.txt 16 Grabar el resultado en la variable cKey cKey := Alltrim( MemoRead( 'Simkey.txt' ) )cKey := Hb_StrToHex(cKey) openssl rsautl -encrypt -inkey ChaveCifraPublicaAT2023.pem ...
by fgondi
Thu Jul 29, 2021 11:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Documentos de Transporte Portugal y MSXML2.XMLHTTP
Replies: 2
Views: 672

oDbf:Delete() error

... I put an alltrim () because it can be even less than 8 characters like for example "TEST" on the oPermessi there is a SetScope static cKey cKey:=oUtenti:Clave oPermessi:setscope(cKey) I did not understand why sometimes some records are cacenalled and other times none and other times ...
by Silvio.Falconi
Thu Jun 03, 2021 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oDbf:Delete() error
Replies: 15
Views: 1911

Re: TDatabase Class

... ) // like ADO AddNew( flds, values )  4) How to I create and use index's .. Like .cdx ( tags ) Approach-1: oDbf:CreateIndex( [cFile], cTag, cKey, [lUnique], [lDescend], [lMemory] ) Approach-2 (Easiest): oDbf:CdxCreate() /// creates index on all fields oDbf:CdxCreaate( cFieldList, [lMemory] ...
by nageswaragunupudi
Thu May 20, 2021 4:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2842

TWeb CLASS emulation in HARBOURINO

... watching the presentation, I got a good idea for 'Harbourino style'. I have now reproduced the CLASS TApp with a HASH. The method e.g. METHOD Get (cKey, uKey) is now a simple hash function: hb_HGet (<hTable>, <Key>) -> <Value> Very easy to handle. I wish you a great weekend. ...
by Otto
Sat Nov 14, 2020 11:47 am
 
Forum: mod_harbour
Topic: TWeb CLASS emulation in HARBOURINO
Replies: 1
Views: 422

HB_Crypt() is not compatible with Latin1

Dear All, I use MariaDB and I got a problem with HB_Crypt( cPass, cKey ) and store in column (Latin1). When I use HB_Decrypt( oRs:cEncPass, cKey ), it returns incorrect. What kind of Charactor does support HB_Crypt() or How do I store HB_Crypt and HB_Decrypt() ...
by dutch
Sun Sep 06, 2020 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_Crypt() is not compatible with Latin1
Replies: 2
Views: 635

Re: Sqlite cipher

... de su DLL sqlcipher.DLL para el compilador que vayas a utilizar A partir de ahí, ( te lo resumo ) local dbName := ... local lCreate := .F. local cKey := "mykey" oDB := sqlite3_open( dbname, lCreate ) sqlite3_exec( oDB, 'pragma key = ' + cKey ) if sqlite3_errcode(dbo1) > 0 // error ...
by MarioG
Fri Aug 07, 2020 1:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sqlite cipher
Replies: 5
Views: 1355

Re: New FWH 19.09

... I will create a sample that will work inside the sample-folder without all the defined extras. The defined TDatabase // CreateIndex( cFile, cTag, cKey, lUnique, lDescend, lMemory ) oProject := TDatabase():Open( , "PROJECT", "DBFCDX", .T. ) oProject:CreateIndex( "PROJECT", ...
by ukoenig
Thu Oct 17, 2019 11:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 6903
Next

Return to advanced search

cron