Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfpencryption.fll Error
Message
De
19/11/2019 02:49:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Vfpencryption.fll Error
Divers
Thread ID:
01671923
Message ID:
01671923
Vues:
68
Good Morning,
I need help with the following error:

o_dado = 'abcdefghi'
wait WINDOW encryptar(o_dado)


FUNCTION encryptar
PARAMETERS _data
PRIVATE lcKey, lcPlaintext, lcCipherText, lcDecipherText
SET LIBRARY TO (LOCFILE('vfpencryption.fll','FLL')) ADDITIVE

m.lnCipherMode = 0
m.lcKey = "FOXIDORG"
m.lcData = _data
m.lcCipher = ENCRYPT(m.lcData, m.lcKey, m.lnCipherMode)

SET LIBRARY TO

RETURN m.lcCipher
ENDFUNC

FUNCTION decryptar
PARAMETERS _cipher
PRIVATE lcKey, lcPlaintext, lcCipherText, lcDecipherText, Dekripnya, xData
SET LIBRARY TO (LOCFILE('vfpencryption.fll','FLL')) ADDITIVE

m.lnCipherMode = 0
m.lcKey = "FOXIDORG"

m.lcCipher = STRCONV(_cipher,16)
m.Dekripnya = DECRYPT(m.lcCipher, m.lcKey, 8, m.lnCipherMode)

SET LIBRARY TO
RETURN m.Dekripnya
ENDFUNC

Thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform