Sha256Hasher — @gj-kit/expo-media
A public interface from @gj-kit/expo-media/core. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { Sha256Hasher } from '@gj-kit/expo-media/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 증분 해셔. `js-sha256`의 `sha256.create()`와 같은 형태라 전신 호출부가 그대로 옮겨진다. * * ⚠ `hex()`는 **종료 연산**이다(패딩을 상태에 써 넣는다). 두 번 이상 부르면 같은 값을 돌려주고, * 종료 후의 `update()`는 무시한다 — 부분적으로 갱신된 다이제스트를 돌려주는 것보다 낫다. */interface Sha256Hasher { update(bytes: Uint8Array): void; hex(): string;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
./core - Source: GitHub