New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scrypt-async-modern

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrypt-async-modern - npm Package Compare versions

Comparing version 3.0.11 to 3.0.12

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 3.0.12 - 2019-01-05
- Fix password/salt typings
## 3.0.11 - 2019-01-05

@@ -2,0 +6,0 @@

12

dist/index.d.ts

@@ -22,3 +22,3 @@ /*!

*
* password and salt are strings or arrays of bytes (Array of Uint8Array)
* password and salt are strings or arrays of bytes (Array or Uint8Array)
* options is

@@ -49,13 +49,13 @@ *

*/
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & {
encoding?: null;
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & {
encoding: null | undefined;
}): Promise<number[]>;
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & {
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & {
encoding: "hex";
}): Promise<string>;
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & {
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & {
encoding: "base64";
}): Promise<string>;
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & {
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & {
encoding: "binary";
}): Promise<Uint8Array>;
{
"name": "scrypt-async-modern",
"version": "3.0.11",
"version": "3.0.12",
"description": "Fast \"async\" scrypt implementation in modern JavaScript.",

@@ -5,0 +5,0 @@ "keywords": [

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