#include "nsISupports.idl" // UUID version 5 for http://passpet.org/XPCOM/IPasspetAES [scriptable, uuid(eef40e3a-43c2-5633-bca4-72878537f738)] interface IPasspetAES : nsISupports { readonly attribute long keybits; // Set the AES key length and key string. void init(in long keybits, in ACString key); // Encipher or decipher one block. ACString encipher(in ACString block); ACString decipher(in ACString block); // Compute a message authentication code. ACString getMAC(in ACString data); };