Global

Location

Constants


TagSize

 

const TagSize: Int64 = 16

 

const Int64 TagSize = 16

 

static let TagSize: Int64 = 16

 

const TagSize Int64 = 16

 

Const TagSize As Int64 = 16

Methods


Sum

 

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

 

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

 

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

 

// .NET, .NET Standard 2.0
func Sum(out Memory<array of byte>, msg Slice<Byte>, key Memory<array of byte>) 
// Island
func Sum(out Memory<array of byte>, msg Slice<Byte>, key Memory<array of byte>) void

 

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

Parameters:

  • out:
  • msg:
  • key:

Verify

 

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

 

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

 

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

 

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

 

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

Parameters:

  • mac:
  • m:
  • key: