UNPKG

@worldcoin/idkit-core

Version:

Core IDKit SDK for World ID - Pure TypeScript, no dependencies

10 lines (8 loc) 286 B
/** * Hashes a signal to its field element hex representation. * * @param signal - The signal to hash (string or Uint8Array) * @returns 0x-prefixed hex string representing the signal hash */ declare function hashSignal(signal: string | Uint8Array): string; export { hashSignal };