radare2/libr/crypto/t/racrypt.vala
pancake df967c868b * Added doc/oo: describes the object dis-orientation of libr
- Plugins should be singletons across object instances
* Added hard/soft initializer for r_crypto
  - Needed for the as_new()
  - Added stupid vala example for r_crypto vapi
* Implement r_debug->mmu methods
2009-09-15 13:24:28 +02:00

15 lines
204 B
Vala

using Radare;
void main()
{
Crypto cto = new Crypto();
cto.set_algorithm("aes");
int keysize = cto.get_key_size();
//cto.set_key();
//cto.set_iv();
/* dupplicate object */
cry = cto.as_new();
}