Global

Location

Constants


TagSize

 

const TagSize: Int64 = 16;

 

const Int64 TagSize = 16

 

static let TagSize: Int64 = 16

 

const TagSize Int64 =  = 16

 

Dim TagSize As Int64 = 16

Methods


Sum

 

class method Sum(out: Reference<array of byte>; msg: Slice<Byte>; key: Reference<array of byte>)

 

static void Sum(Reference<array of byte> out, Slice<Byte> msg, Reference<array of byte> key)

 

static func Sum(_ out: Reference<array of byte>, _ msg: Slice<Byte>, _ key: Reference<array of byte>)

 

func Sum(out Reference<array of byte>, msg Slice<Byte>, key Reference<array of byte>)

 

Shared Sub Sum(out As Reference<array of byte>, msg As Slice<Byte>, key As Reference<array of byte>)

Parameters:

  • out:
  • msg:
  • key:

Verify

 

class method Verify(mac: Reference<array of byte>; m: Slice<Byte>; key: Reference<array of byte>): bool

 

static bool Verify(Reference<array of byte> mac, Slice<Byte> m, Reference<array of byte> key)

 

static func Verify(_ mac: Reference<array of byte>, _ m: Slice<Byte>, _ key: Reference<array of byte>) -> bool

 

func Verify(mac Reference<array of byte>, m Slice<Byte>, key Reference<array of byte>) bool

 

Shared Function Verify(mac As Reference<array of byte>, m As Slice<Byte>, key As Reference<array of byte>) As bool

Parameters:

  • mac:
  • m:
  • key: