Example #1
0
 public static extern void TwofishEncrypt(ref TwofishObj Obj, byte[] input, [In, Out] byte[] output, int len);
Example #2
0
 public static extern void TwofishInit(ref TwofishObj Obj);
Example #3
0
 public TwofishEncryption(uint seed)
 {
     obj    = TwofishObj.Create;
     obj.IP = seed;
     NativeEncryption.TwofishInit(ref obj);
 }
 public TwofishEncryption(uint seed)
 {
     obj = TwofishObj.Create;
     obj.IP = seed;
     NativeEncryption.TwofishInit(ref obj);
 }
Example #5
0
 public static extern void TwofishInit(ref TwofishObj Obj);
Example #6
0
 public static extern void TwofishEncrypt(ref TwofishObj Obj, byte[] input, [In, Out] byte[] output, int len);