简体   繁体   中英

Genexus Encrypt64 TwoFish implementation

I am working on an environment that is in c# (not Genexus) and I need to encrypt data using the same implementatio of the TwoFish algorithm used by Genexus Encrypt64 method.

I have the encryption key and examples for some inputs (unencrypted) and the outputs (encrypted) that I should generate. I have prioblems because I got some implementations of the TwoFish algorithm from the web but none of them appear to be the same as thge one used in Genexus. Also, I tried some online tools and none of them worked.

Has anyone faced this problem before? Is there any other operation that I should be doing other than the TwoFish encryption? What mode does Genexus use for the TwoFish encryption?}

Thanks in advance!

I found this info about twofish and GeneXus:

http://wiki.genexus.com/commwiki/servlet/wiki?8386,Encrypt64%20Function

And this is the algorithm: https://app.assembla.com/spaces/genexus_standard_classes/subversion/source/23/X_Ev2_U6/CSharp/GxClasses/Twofish_Algorithm.cs

If this do not help. Please elaborate your problem, for instance which input do you have and what is the expected output. And compare with the expected output. And of course what version of GeneXus you have to exchange data with.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM