SHA256 function
SHA256 writes the digest of |len| bytes from |data| to |out| and returns |out|. There must be at least |SHA256_DIGEST_LENGTH| bytes of space in |out|.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<ffi.Uint8> Function(
ffi.Pointer<ffi.Uint8>,
ffi.Size,
ffi.Pointer<ffi.Uint8>,
)
>(symbol: 'bssl_dart_SHA256')
external ffi.Pointer<ffi.Uint8> SHA256(
ffi.Pointer<ffi.Uint8> data,
int len,
ffi.Pointer<ffi.Uint8> out,
);