AEAD

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.crypto.cipher
  • Platforms: .NET, .NET Standard 2.0, Island

Required Methods


NonceSize

 

method NonceSize: int

 

int NonceSize()

 

func NonceSize() -> int

 

func NonceSize() int

Open

 

// .NET, Island
method Open(dst: Slice<Byte>; nonce: Slice<Byte>; ciphertext: Slice<Byte>; additionalData: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Open(dst: Slice<Byte>; nonce: Slice<Byte>; ciphertext: Slice<Byte>; additionalData: Slice<Byte>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) Open(Slice<Byte> dst, Slice<Byte> nonce, Slice<Byte> ciphertext, Slice<Byte> additionalData)
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> Open(Slice<Byte> dst, Slice<Byte> nonce, Slice<Byte> ciphertext, Slice<Byte> additionalData)

 

// .NET, Island
func Open(_ dst: Slice<Byte>, _ nonce: Slice<Byte>, _ ciphertext: Slice<Byte>, _ additionalData: Slice<Byte>) -> (Slice<Byte>, error)
// .NET Standard 2.0
func Open(_ dst: Slice<Byte>, _ nonce: Slice<Byte>, _ ciphertext: Slice<Byte>, _ additionalData: Slice<Byte>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func Open(dst Slice<Byte>, nonce Slice<Byte>, ciphertext Slice<Byte>, additionalData Slice<Byte>) (Slice<Byte>, error)
// .NET Standard 2.0
func Open(dst Slice<Byte>, nonce Slice<Byte>, ciphertext Slice<Byte>, additionalData Slice<Byte>) ValueTuple<Slice<Byte>, error>

Parameters:

  • dst:
  • nonce:
  • ciphertext:
  • additionalData:

Overhead

 

method Overhead: int

 

int Overhead()

 

func Overhead() -> int

 

func Overhead() int

Seal

 

method Seal(dst: Slice<Byte>; nonce: Slice<Byte>; plaintext: Slice<Byte>; additionalData: Slice<Byte>): Slice<Byte>

 

Slice<Byte> Seal(Slice<Byte> dst, Slice<Byte> nonce, Slice<Byte> plaintext, Slice<Byte> additionalData)

 

func Seal(_ dst: Slice<Byte>, _ nonce: Slice<Byte>, _ plaintext: Slice<Byte>, _ additionalData: Slice<Byte>) -> Slice<Byte>

 

func Seal(dst Slice<Byte>, nonce Slice<Byte>, plaintext Slice<Byte>, additionalData Slice<Byte>) Slice<Byte>

Parameters:

  • dst:
  • nonce:
  • plaintext:
  • additionalData: