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

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

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

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

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

Parameters:

  • block:
  • iv:

NewGCM

 

// .NET, Island
class method NewGCM(cipher: Block): tuple of (AEAD, error)
// .NET Standard 2.0
class method NewGCM(cipher: Block): ValueTuple<AEAD, error>

 

// .NET, Island
static (AEAD, error) NewGCM(Block cipher)
// .NET Standard 2.0
static ValueTuple<AEAD, error> NewGCM(Block cipher)

 

// .NET, Island
static func NewGCM(_ cipher: Block) -> (AEAD, error)
// .NET Standard 2.0
static func NewGCM(_ cipher: Block) -> ValueTuple<AEAD, error>

 

// .NET, Island
func NewGCM(cipher Block) (AEAD, error)
// .NET Standard 2.0
func NewGCM(cipher Block) ValueTuple<AEAD, error>

Parameters:

  • cipher:

NewGCMWithNonceSize

 

// .NET, Island
class method NewGCMWithNonceSize(cipher: Block; size: int): tuple of (AEAD, error)
// .NET Standard 2.0
class method NewGCMWithNonceSize(cipher: Block; size: int): ValueTuple<AEAD, error>

 

// .NET, Island
static (AEAD, error) NewGCMWithNonceSize(Block cipher, int size)
// .NET Standard 2.0
static ValueTuple<AEAD, error> NewGCMWithNonceSize(Block cipher, int size)

 

// .NET, Island
static func NewGCMWithNonceSize(_ cipher: Block, _ size: int) -> (AEAD, error)
// .NET Standard 2.0
static func NewGCMWithNonceSize(_ cipher: Block, _ size: int) -> ValueTuple<AEAD, error>

 

// .NET, Island
func NewGCMWithNonceSize(cipher Block, size int) (AEAD, error)
// .NET Standard 2.0
func NewGCMWithNonceSize(cipher Block, size int) ValueTuple<AEAD, error>

Parameters:

  • cipher:
  • size:

NewGCMWithTagSize

 

// .NET, Island
class method NewGCMWithTagSize(cipher: Block; tagSize: int): tuple of (AEAD, error)
// .NET Standard 2.0
class method NewGCMWithTagSize(cipher: Block; tagSize: int): ValueTuple<AEAD, error>

 

// .NET, Island
static (AEAD, error) NewGCMWithTagSize(Block cipher, int tagSize)
// .NET Standard 2.0
static ValueTuple<AEAD, error> NewGCMWithTagSize(Block cipher, int tagSize)

 

// .NET, Island
static func NewGCMWithTagSize(_ cipher: Block, _ tagSize: int) -> (AEAD, error)
// .NET Standard 2.0
static func NewGCMWithTagSize(_ cipher: Block, _ tagSize: int) -> ValueTuple<AEAD, error>

 

// .NET, Island
func NewGCMWithTagSize(cipher Block, tagSize int) (AEAD, error)
// .NET Standard 2.0
func NewGCMWithTagSize(cipher Block, tagSize int) ValueTuple<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

Parameters:

  • b:
  • iv: