Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gtsc/api-auth-entity-storage-service

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gtsc/api-auth-entity-storage-service - npm Package Compare versions

Comparing version 0.0.3-next.56 to 0.0.3-next.57

7

dist/types/utils/passwordHelper.d.ts

@@ -5,2 +5,9 @@ /**

export declare class PasswordHelper {
/**
* Hash the password for the user.
* @param passwordBytes The password bytes.
* @param saltBytes The salt bytes.
* @returns The hashed password.
*/
static hashPassword(passwordBytes: Uint8Array, saltBytes: Uint8Array): Promise<string>;
}

@@ -18,1 +18,25 @@ [**@gtsc/api-auth-entity-storage-service**](../overview.md) • **Docs**

[`PasswordHelper`](PasswordHelper.md)
## Methods
### hashPassword()
> `static` **hashPassword**(`passwordBytes`, `saltBytes`): `Promise`\<`string`\>
Hash the password for the user.
#### Parameters
• **passwordBytes**: `Uint8Array`
The password bytes.
• **saltBytes**: `Uint8Array`
The salt bytes.
#### Returns
`Promise`\<`string`\>
The hashed password.

8

package.json
{
"name": "@gtsc/api-auth-entity-storage-service",
"version": "0.0.3-next.56",
"version": "0.0.3-next.57",
"description": "Auth Entity Storage contract implementation and REST endpoint definitions",

@@ -17,5 +17,5 @@ "repository": {

"dependencies": {
"@gtsc/api-auth-entity-storage-models": "0.0.3-next.56",
"@gtsc/api-core": "0.0.3-next.56",
"@gtsc/api-models": "0.0.3-next.56",
"@gtsc/api-auth-entity-storage-models": "0.0.3-next.57",
"@gtsc/api-core": "0.0.3-next.57",
"@gtsc/api-models": "0.0.3-next.57",
"@gtsc/core": "next",

@@ -22,0 +22,0 @@ "@gtsc/crypto": "next",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc