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
class method New(key: array of uint32; nonce: array of uint32): Memory<Cipher>
static Memory<Cipher> New(uint32[] key, uint32[] nonce)
static func New(_ key: uint32..., _ nonce: uint32...) -> Memory<Cipher>
func New(key []uint32, nonce []uint32) Memory<Cipher>
Shared Function New(key As uint32(), nonce As uint32()) As Memory<Cipher>
Parameters:
- key:
- nonce:
XORKeyStream
class method XORKeyStream(out: Slice<Byte>; in: Slice<Byte>; counter: Memory<array of byte>; key: Memory<array of byte>)
static void XORKeyStream(Slice<Byte> out, Slice<Byte> in, Memory<array of byte> counter, Memory<array of byte> key)
static func XORKeyStream(_ out: Slice<Byte>, _ in: Slice<Byte>, _ counter: Memory<array of byte>, _ key: Memory<array of byte>)
// .NET, .NET Standard 2.0
func XORKeyStream(out Slice<Byte>, in Slice<Byte>, counter Memory<array of byte>, key Memory<array of byte>)
// Island
func XORKeyStream(out Slice<Byte>, in Slice<Byte>, counter Memory<array of byte>, key Memory<array of byte>) void
Shared Sub XORKeyStream(out As Slice<Byte>, in As Slice<Byte>, counter As Memory<array of byte>, key As Memory<array of byte>)
Parameters:
- out:
- in:
- counter:
- key: