Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.golang.org.x.crypto.internal.chacha20
- Platforms: .NET, .NET Standard 2.0, Island
Methods
New
// .NET, .NET Standard 2.0
class method New(key: array of uint32; nonce: array of uint32): Memory<Cipher>
// Island
class method New(key: array of uint32; nonce: array of uint32): Memory<Cipher>
// .NET, .NET Standard 2.0
static Memory<Cipher> New(uint32[] key, uint32[] nonce)
// Island
static Memory<Cipher> New(uint32[] key, uint32[] nonce)
// .NET, .NET Standard 2.0
static func New(_ key: uint32..., _ nonce: uint32...) -> Memory<Cipher>
// Island
static func New(_ key: uint32..., _ nonce: uint32...) -> Memory<Cipher>
Parameters:
- key:
- nonce:
XORKeyStream
// .NET, .NET Standard 2.0
class method XORKeyStream(out: Slice<Byte>; in: Slice<Byte>; counter: Memory<array of byte>; key: Memory<array of byte>)
// Island
class method XORKeyStream(out: Slice<Byte>; in: Slice<Byte>; counter: Memory<array of byte>; key: Memory<array of byte>)
// .NET, .NET Standard 2.0
static void XORKeyStream(Slice<Byte> out, Slice<Byte> in, Memory<array of byte> counter, Memory<array of byte> key)
// Island
static void XORKeyStream(Slice<Byte> out, Slice<Byte> in, Memory<array of byte> counter, Memory<array of byte> key)
// .NET, .NET Standard 2.0
static func XORKeyStream(_ out: Slice<Byte>, _ in: Slice<Byte>, _ counter: Memory<array of byte>, _ key: Memory<array of byte>)
// Island
static func XORKeyStream(_ out: Slice<Byte>, _ in: Slice<Byte>, _ counter: Memory<array of byte>, _ key: Memory<array of byte>)
Parameters:
- out:
- in:
- counter:
- key: