Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encriptar con clase de VFP7
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01191627
Message ID:
01191685
Vues:
9
>En VFP7 se agrego una clase que permite encriptar invocando algunas funciones API.
>
>oCrypt = NEWOBJECT("_cryptapi",HOME()+"\ffc\_crypt.vcx")
>cEncryptedString = []
>cEncryptedString2 = []
>oCrypt.encryptSessionStreamString(" Encriptando Texto","clave", @cEncryptedString)
>
>Pero mi pregunta es, porque no me quiere funcionar?, o como lo harìa funcionar?.



Para ver ejemplos tienes este artículo, un poco ya viejo pero te dará una idea.
http://feldstein.net/CodeCryptoArticle.htm

El CryptoAPI está viejo y no es quizas buena idea usarlo hoy en dia. MS lo ha dejado de lado en favor de .NET
Tiene problemas y dificultades si cambias de syistema operativo (ver http://fox.wikis.com/wc.dll?Wiki~CryptoAPI)

Como una alternativa más simple de usar tienes las clases de Craig Boyd [MVP]:
http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,db662a8f-d47c-46c8-b0d2-a591c20d024b.aspx


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform