Global

Location

Constants


KeySize

 

const KeySize: Int64 = 32;

 

const Int64 KeySize = 32

 

static let KeySize: Int64 = 32

 

const KeySize Int64 =  = 32

 

Dim KeySize As Int64 = 32

NonceSize

 

const NonceSize: Int64 = 12;

 

const Int64 NonceSize = 12

 

static let NonceSize: Int64 = 12

 

const NonceSize Int64 =  = 12

 

Dim NonceSize As Int64 = 12

Methods


New

 

// .NET, Island
class method New(key: Slice<Byte>): tuple of (AEAD, error)
// .NET Standard 2.0
class method New(key: Slice<Byte>): ValueTuple<AEAD, error>

 

// .NET, Island
static (AEAD, error) New(Slice<Byte> key)
// .NET Standard 2.0
static ValueTuple<AEAD, error> New(Slice<Byte> key)

 

// .NET, Island
static func New(_ key: Slice<Byte>) -> (AEAD, error)
// .NET Standard 2.0
static func New(_ key: Slice<Byte>) -> ValueTuple<AEAD, error>

 

// .NET, Island
func New(key Slice<Byte>) (AEAD, error)
// .NET Standard 2.0
func New(key Slice<Byte>) ValueTuple<AEAD, error>

 

// .NET, Island
Shared Function New(key As Slice<Byte>) As Tuple (Of AEAD, error)
// .NET Standard 2.0
Shared Function New(key As Slice<Byte>) As ValueTuple<AEAD, error>

Parameters:

  • key: