Search found 236 matches: decrypt

Return to advanced search

Re: encrypt/decrypt in Harbour and php

Thank you Cristóbal.

Do you refer to this?

https://github.com/vszakats/hb/blob/mas ... /hbcrypt.c
by MOISES
Sun Dec 22, 2019 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1145

Re: encrypt/decrypt in Harbour and php

Muchas gracias. ¿No existe un método de encriptacion más fuerte? Look for the hb_Crypt and hb_Decrypt functions, and you can even support yourself for using these functions in the cMimeEnc and cMimeDec functions Pd: in this forum, please use the English language. Thank you Busca las funciones hb_Cr...
by cnavarro
Sat Dec 21, 2019 9:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1145

Re: encrypt/decrypt in Harbour and php

Muchas gracias.

¿No existe un método de encriptacion más fuerte?
by MOISES
Sat Dec 21, 2019 7:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1145

Re: encrypt/decrypt in Harbour and php

... = function ($valor) use ($method, $clave, $iv) {     $encrypted_data = base64_decode($valor);     return openssl_decrypt($valor, $method, $clave, false, $iv); }; /* Genera un valor para IV */ $getIV = function () use ($method) {  ...
by leandro
Sat Dec 21, 2019 5:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1145

Re: encrypt/decrypt in Harbour and php

leandro wrote:En este momento me encuentro investigando y avanzando de a poco sobre el tema de encriptar con los comandos openssl apenas tenga resultados comento.


Leandro, What openssl functions are you using?

Moises, use functions hb_base64Encode and hb_base64Decode
by cnavarro
Sat Dec 21, 2019 5:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1145

Re: encrypt/decrypt in Harbour and php

Pues no es exactamente encriptar... pero para ocultar un poco el contenido puedes usar la codificación en base64. Encode y decode en xharbour cBas64 := hb_base64encode(::user+":"+::pass,len(::user+":"+::pass)) cString := hb_base64decode(::respuesta["q...
by leandro
Sat Dec 21, 2019 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1145

encrypt/decrypt in Harbour and php

Hi,

Are there a set of functions that, for example, I encrypt the string in the php web page, and I read and decrypt in Habour -prg code?

Thank you
by MOISES
Fri Dec 20, 2019 6:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1145

Re: EXE passwords are visible in plain

wich function is aes256_Decrypt ? where you found it ? I Have Un / protectstring for a string Un /protectFile for a file and these use a aes protocol 128/192/256 it'is build from this document https://csrc.nist.gov/csrc/media/publications/fips/197/final/documents/fips-197.pdf type: InitAes(128) //19...
by Silvio.Falconi
Sat Nov 10, 2018 8:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXE passwords are visible in plain
Replies: 27
Views: 5120

Re: EXE passwords are visible in plain

>on new class I use Aes cifrature ADVANCED ENCRYPTION STANDARD 128 bit
Hello Silvio
how do you store the key.
c := aes256_Decrypt( c, @cKey )
Thank you and best regards
Otto
by Otto
Sat Nov 10, 2018 7:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXE passwords are visible in plain
Replies: 27
Views: 5120

Re: EXE passwords are visible in plain

Hello Silvio
can you please show
some lines how TLicense decrypt.

Do you have something like:
::cPw := DECRYPT(Encrypted,"1234aeb")
in your class.
Thank you
and best regards
Otto
by Otto
Fri Nov 09, 2018 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXE passwords are visible in plain
Replies: 27
Views: 5120

Re: EXE passwords are visible in plain

Hello Otto:

Is not enough for you the ENCRYPT() and DECRYPT() Classes?

Here is a sample:

Code: Select all  Expand view

Encrypted :=  ENCRYPT("Armando","1234aeb")
MsgInfo(Encrypted)

Decrypted := DECRYPT(Encrypted,"1234aeb")
MsgInfo(Decrypted)

 


Regards
by Armando
Thu Nov 08, 2018 1:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXE passwords are visible in plain
Replies: 27
Views: 5120

Re: Encrypt and Decrypt errors

carlos vargas wrote:please include
Code: Select all  Expand view

#include "hbcompat.ch"
 



Thanks Carlos!

:)
by fraxzi
Thu Sep 20, 2018 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Encrypt and Decrypt errors
Replies: 9
Views: 1654

Re: Encrypt and Decrypt errors

please include
Code: Select all  Expand view

#include "hbcompat.ch"
 
by carlos vargas
Wed Sep 19, 2018 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Encrypt and Decrypt errors
Replies: 9
Views: 1654

Re: Encrypt and Decrypt errors

I got it...

Str2Hex() and Hex2Str() ...

:)
by fraxzi
Wed Sep 19, 2018 2:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Encrypt and Decrypt errors
Replies: 9
Views: 1654

Re: Encrypt and Decrypt errors

Hi All,

how to use HB_StrToHex()/HB_HexToStr() in xHarbour ... Any equivalent?

:?:
by fraxzi
Wed Sep 19, 2018 2:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Encrypt and Decrypt errors
Replies: 9
Views: 1654
PreviousNext

Return to advanced search