Des / Triple Des encryption /decryption

76 views
Skip to first unread message

MJ

unread,
Apr 9, 2014, 9:22:30 AM4/9/14
to haxe...@googlegroups.com
Package haxe.crypto is really very good as idea  , but for my need  I'm looking for Des encryption library.  What I found was this:
  1) Caffeine-hx  ( https://code.google.com/p/caffeine-hx/ )  ( not works on haxe 3 )  
Is there any working solution in haxe for that ? I can try to fix Caffeine-hx  for haxe 3 , but is it something specific in haxe about that ? I read about Int value ( 31-bit in neko) , but there also have Int32 ( neko specific).
Also are you planning to add more crypto function in next releases of haxe ?
 

Nathan Hüsken

unread,
Apr 9, 2014, 9:30:47 AM4/9/14
to haxe...@googlegroups.com
I tried making caffeine-hx work for me. Here is the result:
github.com:RudolfVonKrugstein/caffeine-hx.git
I am sure there is a lot not working there, but the parts I am using
work :).
> --
> To post to this group haxe...@googlegroups.com
> http://groups.google.com/group/haxelang?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "Haxe" group.
> For more options, visit https://groups.google.com/d/optout.


signature.asc

Sam MacPherson

unread,
Apr 9, 2014, 1:32:34 PM4/9/14
to haxe...@googlegroups.com
Btw if you are wanting to do secure symmetric encryption, I would go with AES not DES. DES is depreciated and insecure.

MJ

unread,
Apr 9, 2014, 4:08:26 PM4/9/14
to haxe...@googlegroups.com
Thanks Nathan I will check your code.

Sam, I'm porting a game from as3 to haxe ( a part of it actually)  and this include secure communication with php on the server side using des-cbc. It's a little bit complicated to change the logic on the server too, but it's not impossible solution if other not exist. 
Reply all
Reply to author
Forward
0 new messages