crypto_chacha20_h function

  1. @Native<Void Function(Pointer<Uint8>, Pointer<Uint8>, Pointer<Uint8>)>(ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>)>()
void crypto_chacha20_h(
  1. Pointer<Uint8> out,
  2. Pointer<Uint8> key,
  3. Pointer<Uint8> in$
)

Specialised hash. Used to hash X25519 shared secrets.

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
  )
>()
external void crypto_chacha20_h(
  ffi.Pointer<ffi.Uint8> out,
  ffi.Pointer<ffi.Uint8> key,
  ffi.Pointer<ffi.Uint8> in$,
);