hyli-noir 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/check_secret.d.ts +2 -0
- package/dist/hyli-noir.cjs.js +1 -1
- package/dist/hyli-noir.cjs.js.map +1 -1
- package/dist/hyli-noir.es.js +48 -51
- package/dist/hyli-noir.es.js.map +1 -1
- package/package.json +8 -1
package/dist/check_secret.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { CompiledCircuit } from "@noir-lang/types";
|
|
2
2
|
import { Blob, ProofTransaction, NodeApiHttpClient } from "hyli";
|
|
3
|
+
export declare const hash_password: (password: string) => Promise<Uint8Array>;
|
|
4
|
+
export declare const identity_hash: (identity: string, password: string) => Promise<string>;
|
|
3
5
|
/**
|
|
4
6
|
* Builds a blob transaction containing a secret derived from an identity and password.
|
|
5
7
|
* The secret is constructed by:
|