FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
[WM20/W20] CryptStandard/UncryptStandard
[WM20/W20] CryptStandard/UncryptStandard
Iniciado por ARV, 22,mar. 2018 21:03 - No hay respuesta
Conéctese…
ARV
#1
Miembro registrado
498 mensajes
Popularité : +8 (8 votes)
Publicado el 22,marzo 2018 - 21:03
Hi
I have some issues using this function on my version of windev it doesn't get me the string I Encrypt heres my code
//Encrypt in Android
pass
is UNICODE string
=
"Password"
buf
KEY
is
Buffer
=
HashString
(
HA_MD5_128
,
pass
)
s
Messa
is UNICODE string
=
E
DT_Text
buf
Encrypt
is
Buffer
=
CryptStandard
(
s
Messa
,
buf
KEY
,
cryptAES128
)
TableDB.Pa
=
buf
Encrypt
HAdd
(
TableDB
)
Info
(
"Done"
)
//Uncrypt on PC
HReadFirst
(
TableDB
,
ID
)
pass
is UNICODE string
=
"Password"
bufkey
is
Buffer
=
HashString
(
HA_MD5_128
,
pass
)
buf
SResult2
is
Buffer
=
UncryptStandard
(
TablaErrores.Pa
,
BufKey
,
cryptAES128
)
E
DT_Uncrypt
=
buf
SResult2
IF
buf
SResult2
=
""
THEN
Info
(
ErrorInfo
(
errFullDetails
)
)
END
For some reason it only uncrypt the first letter of my message the rest it's lost.
Next time I will try with Ansi but I don't think is that the problem.
Any Ideas my fellows developers?
Best Regards.
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto