Global

Location

Methods


New

 

class method New(key: array of uint32; nonce: array of uint32): Reference<Cipher>

 

static Reference<Cipher> New(uint32[] key, uint32[] nonce)

 

static func New(_ key: uint32..., _ nonce: uint32...) -> Reference<Cipher>

 

func New(key []uint32, nonce []uint32) Reference<Cipher>

Parameters:

  • key:
  • nonce:

XORKeyStream

 

class method XORKeyStream(out: Slice<Byte>; in: Slice<Byte>; counter: Reference<array of byte>; key: Reference<array of byte>)

 

static void XORKeyStream(Slice<Byte> out, Slice<Byte> in, Reference<array of byte> counter, Reference<array of byte> key)

 

static func XORKeyStream(_ out: Slice<Byte>, _ in: Slice<Byte>, _ counter: Reference<array of byte>, _ key: Reference<array of byte>)

 

func XORKeyStream(out Slice<Byte>, in Slice<Byte>, counter Reference<array of byte>, key Reference<array of byte>)

Parameters:

  • out:
  • in:
  • counter:
  • key: