Initializes the context with the key ready for repeated operations of Gcm.NextEncrypt, Gcm.NextDecrypt, or Gcm.NextGmac.
public int InitKey( byte[] key )
Public Function InitKey ( _ key As Byte() _ ) As Integer
Gcm o = Instance(); o.InitKey(key); byte[] tag = new byte[16]; byte[] ct = o.NextEncrypt(tag, pt, iv, aad); //... o.Dispose();
VB6/C equivalent: GCM_InitKey