public static int DesencriptaNTS(string base64Data, string base64Llave, out string base64Resultado) { var a = new AES_CTR(); var ok = a.Desencripta(base64Data, base64Llave, out base64Resultado); a = null; return(ok); }
public static int DesencriptaNTS(IntPtr base64Data_P, IntPtr base64Llave_P, [MarshalAs(UnmanagedType.BStr)] out string base64Resultado) { string base64Data = Marshal.PtrToStringAuto(base64Data_P); string base64Llave = Marshal.PtrToStringAuto(base64Llave_P); var a = new AES_CTR(); var ok = a.Desencripta(base64Data, base64Llave, out base64Resultado); a = null; return(ok); }
public static void CreaObjeto([MarshalAs(UnmanagedType.Interface)] out IAES_CTR miAES) { miAES = new AES_CTR(); miAES.SetID("_UNDEF_"); }