Last active
August 29, 2015 14:00
-
-
Save musanek/11333726 to your computer and use it in GitHub Desktop.
Sample code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import tea.TEA; | |
class Test { | |
public static function main() { | |
var enc = tea.TEA.crypt('test'); | |
trace(enc); | |
var dec = tea.TEA.uncrypt(enc); | |
trace(dec); | |
} | |
} | |
//haxe Test.hx -main Test -cp . -lib hxtea -cpp out -D HXCPP_M64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment