Skip to content

Instantly share code, notes, and snippets.

@musanek
Last active August 29, 2015 14:00
Show Gist options
  • Save musanek/11333726 to your computer and use it in GitHub Desktop.
Save musanek/11333726 to your computer and use it in GitHub Desktop.
Sample code
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