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
Function NonceSize() As int
Open
method Open(dst: Slice<Byte>; nonce: Slice<Byte>; ciphertext: Slice<Byte>; additionalData: Slice<Byte>): tuple of (Slice<Byte>, error)
(Slice<Byte>, error) Open(Slice<Byte> dst, Slice<Byte> nonce, Slice<Byte> ciphertext, Slice<Byte> additionalData)
func Open(_ dst: Slice<Byte>, _ nonce: Slice<Byte>, _ ciphertext: Slice<Byte>, _ additionalData: Slice<Byte>) -> (Slice<Byte>, error)
Parameters:
- dst:
- nonce:
- ciphertext:
- additionalData:
Overhead
method Overhead: int
int Overhead()
func Overhead() -> int
func Overhead() int
Function Overhead() As 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>
Parameters:
- dst:
- nonce:
- plaintext:
- additionalData: