Global

Location

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

Methods


NewCBCDecrypter

 

class method NewCBCDecrypter(b: Block; iv: Slice<Byte>): BlockMode

 

static BlockMode NewCBCDecrypter(Block b, Slice<Byte> iv)

 

static func NewCBCDecrypter(_ b: Block, _ iv: Slice<Byte>) -> BlockMode

 

func NewCBCDecrypter(b Block, iv Slice<Byte>) BlockMode

 

Shared Function NewCBCDecrypter(b As Block, iv As Slice<Byte>) As BlockMode

Parameters:

  • b:
  • iv:

NewCBCEncrypter

 

class method NewCBCEncrypter(b: Block; iv: Slice<Byte>): BlockMode

 

static BlockMode NewCBCEncrypter(Block b, Slice<Byte> iv)

 

static func NewCBCEncrypter(_ b: Block, _ iv: Slice<Byte>) -> BlockMode

 

func NewCBCEncrypter(b Block, iv Slice<Byte>) BlockMode

 

Shared Function NewCBCEncrypter(b As Block, iv As Slice<Byte>) As BlockMode

Parameters:

  • b:
  • iv:

NewCFBDecrypter

 

class method NewCFBDecrypter(block: Block; iv: Slice<Byte>): Stream

 

static Stream NewCFBDecrypter(Block block, Slice<Byte> iv)

 

static func NewCFBDecrypter(_ block: Block, _ iv: Slice<Byte>) -> Stream

 

func NewCFBDecrypter(block Block, iv Slice<Byte>) Stream

 

Shared Function NewCFBDecrypter(block As Block, iv As Slice<Byte>) As Stream

Parameters:

  • block:
  • iv:

NewCFBEncrypter

 

class method NewCFBEncrypter(block: Block; iv: Slice<Byte>): Stream

 

static Stream NewCFBEncrypter(Block block, Slice<Byte> iv)

 

static func NewCFBEncrypter(_ block: Block, _ iv: Slice<Byte>) -> Stream

 

func NewCFBEncrypter(block Block, iv Slice<Byte>) Stream

 

Shared Function NewCFBEncrypter(block As Block, iv As Slice<Byte>) As Stream

Parameters:

  • block:
  • iv:

NewCTR

 

class method NewCTR(block: Block; iv: Slice<Byte>): Stream

 

static Stream NewCTR(Block block, Slice<Byte> iv)

 

static func NewCTR(_ block: Block, _ iv: Slice<Byte>) -> Stream

 

func NewCTR(block Block, iv Slice<Byte>) Stream

 

Shared Function NewCTR(block As Block, iv As Slice<Byte>) As Stream

Parameters:

  • block:
  • iv:

NewGCM

 

class method NewGCM(cipher: Block): tuple of (AEAD, error)

 

static (AEAD, error) NewGCM(Block cipher)

 

static func NewGCM(_ cipher: Block) -> (AEAD, error)

 

func NewGCM(cipher Block) (AEAD, error)

 

Shared Function NewGCM(cipher As Block) As Tuple (Of AEAD, error)

Parameters:

  • cipher:

NewGCMWithNonceSize

 

class method NewGCMWithNonceSize(cipher: Block; size: int): tuple of (AEAD, error)

 

static (AEAD, error) NewGCMWithNonceSize(Block cipher, int size)

 

static func NewGCMWithNonceSize(_ cipher: Block, _ size: int) -> (AEAD, error)

 

func NewGCMWithNonceSize(cipher Block, size int) (AEAD, error)

 

Shared Function NewGCMWithNonceSize(cipher As Block, size As int) As Tuple (Of AEAD, error)

Parameters:

  • cipher:
  • size:

NewGCMWithTagSize

 

class method NewGCMWithTagSize(cipher: Block; tagSize: int): tuple of (AEAD, error)

 

static (AEAD, error) NewGCMWithTagSize(Block cipher, int tagSize)

 

static func NewGCMWithTagSize(_ cipher: Block, _ tagSize: int) -> (AEAD, error)

 

func NewGCMWithTagSize(cipher Block, tagSize int) (AEAD, error)

 

Shared Function NewGCMWithTagSize(cipher As Block, tagSize As int) As Tuple (Of AEAD, error)

Parameters:

  • cipher:
  • tagSize:

NewOFB

 

class method NewOFB(b: Block; iv: Slice<Byte>): Stream

 

static Stream NewOFB(Block b, Slice<Byte> iv)

 

static func NewOFB(_ b: Block, _ iv: Slice<Byte>) -> Stream

 

func NewOFB(b Block, iv Slice<Byte>) Stream

 

Shared Function NewOFB(b As Block, iv As Slice<Byte>) As Stream

Parameters:

  • b:
  • iv: