mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 20:20:16 +00:00
Initial commit of eigent-main
This commit is contained in:
commit
723df5a03e
1144 changed files with 103478 additions and 0 deletions
7
package/@stackframe/stack-shared/dist/utils/hashes.d.mts
vendored
Normal file
7
package/@stackframe/stack-shared/dist/utils/hashes.d.mts
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
declare function sha512(input: Uint8Array | string): Promise<Uint8Array>;
|
||||
declare function hashPassword(password: string): Promise<string>;
|
||||
declare function comparePassword(password: string, hash: string): Promise<boolean>;
|
||||
declare function isPasswordHashValid(hash: string): Promise<boolean>;
|
||||
declare function getPasswordHashAlgorithm(hash: string): Promise<"bcrypt" | undefined>;
|
||||
|
||||
export { comparePassword, getPasswordHashAlgorithm, hashPassword, isPasswordHashValid, sha512 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue