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

@types/sodium-native

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sodium-native - npm Package Compare versions

Comparing version 2.3.3 to 2.3.4

106

sodium-native/index.d.ts

@@ -86,2 +86,12 @@ // Type definitions for sodium-native 2.3

export const crypto_aead_xchacha20poly1305_ietf_NSECBYTES: number;
export const crypto_auth_BYTES: number;
export const crypto_auth_KEYBYTES: number;
export const crypto_auth_PRIMITIVE: string;
export const crypto_box_MACBYTES: number;
export const crypto_box_NONCEBYTES: number;
export const crypto_box_PRIMITIVE: string;
export const crypto_box_PUBLICKEYBYTES: number;
export const crypto_box_SEALBYTES: number;
export const crypto_box_SECRETKEYBYTES: number;
export const crypto_box_SEEDBYTES: number;
export const crypto_core_ed25519_BYTES: number;

@@ -91,4 +101,2 @@ export const crypto_core_ed25519_NONREDUCEDSCALARBYTES: number;

export const crypto_core_ed25519_UNIFORMBYTES: number;
export const crypto_secretstream_xchacha20poly1305_ABYTES: number;
export const crypto_secretstream_xchacha20poly1305_HEADERBYTES: number;
export const crypto_generichash_BYTES_MAX: number;

@@ -100,34 +108,94 @@ export const crypto_generichash_BYTES_MIN: number;

export const crypto_generichash_KEYBYTES: number;
export const crypto_generichash_PRIMITIVE: string;
export const crypto_generichash_STATEBYTES: number;
export const crypto_hash_BYTES: number;
export const crypto_hash_PRIMITIVE: string;
export const crypto_hash_sha256_BYTES: number;
export const crypto_hash_sha256_STATEBYTES: number;
export const crypto_hash_sha512_BYTES: number;
export const crypto_hash_sha512_STATEBYTES: number;
export const crypto_kdf_BYTES_MAX: number;
export const crypto_kdf_BYTES_MIN: number;
export const crypto_kdf_CONTEXTBYTES: number;
export const crypto_kdf_KEYBYTES: number;
export const crypto_kdf_PRIMITIVE: string;
export const crypto_kx_PRIMITIVE: string;
export const crypto_kx_PUBLICKEYBYTES: number;
export const crypto_kx_SECRETKEYBYTES: number;
export const crypto_kx_SEEDBYTES: number;
export const crypto_kx_SESSIONKEYBYTES: number;
export const crypto_onetimeauth_BYTES: number;
export const crypto_onetimeauth_KEYBYTES: number;
export const crypto_onetimeauth_PRIMITIVE: string;
export const crypto_onetimeauth_STATEBYTES: number;
export const crypto_pwhash_ALG_ARGON2I13: number;
export const crypto_pwhash_ALG_ARGON2ID13: number;
export const crypto_pwhash_ALG_DEFAULT: number;
export const crypto_pwhash_BYTES_MAX: number;
export const crypto_pwhash_BYTES_MIN: number;
export const crypto_pwhash_MEMLIMIT_INTERACTIVE: number;
export const crypto_pwhash_MEMLIMIT_MAX: number;
export const crypto_pwhash_MEMLIMIT_MIN: number;
export const crypto_pwhash_MEMLIMIT_MODERATE: number;
export const crypto_pwhash_MEMLIMIT_SENSITIVE: number;
export const crypto_pwhash_OPSLIMIT_INTERACTIVE: number;
export const crypto_pwhash_OPSLIMIT_MAX: number;
export const crypto_pwhash_OPSLIMIT_MIN: number;
export const crypto_pwhash_OPSLIMIT_MODERATE: number;
export const crypto_pwhash_OPSLIMIT_SENSITIVE: number;
export const crypto_pwhash_PASSWD_MAX: number;
export const crypto_pwhash_PASSWD_MIN: number;
export const crypto_pwhash_PRIMITIVE: string;
export const crypto_pwhash_SALTBYTES: number;
export const crypto_pwhash_scryptsalsa208sha256_BYTES_MAX: number;
export const crypto_pwhash_scryptsalsa208sha256_BYTES_MIN: number;
export const crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE: number;
export const crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX: number;
export const crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN: number;
export const crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE: number;
export const crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE: number;
export const crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX: number;
export const crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN: number;
export const crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE: number;
export const crypto_pwhash_scryptsalsa208sha256_PASSWD_MAX: number;
export const crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN: number;
export const crypto_pwhash_scryptsalsa208sha256_SALTBYTES: number;
export const crypto_pwhash_scryptsalsa208sha256_STRBYTES: number;
export const crypto_pwhash_scryptsalsa208sha256_STRPREFIX: string;
export const crypto_pwhash_STRBYTES: number;
export const crypto_pwhash_STRPREFIX: string;
export const crypto_scalarmult_BYTES: number;
export const crypto_scalarmult_ed25519_BYTES: number;
export const crypto_scalarmult_ed25519_SCALARBYTES: number;
export const crypto_scalarmult_PRIMITIVE: string;
export const crypto_scalarmult_SCALARBYTES: number;
export const crypto_secretbox_KEYBYTES: number;
export const crypto_secretbox_MACBYTES: number;
export const crypto_secretbox_NONCEBYTES: number;
export const crypto_secretbox_PRIMITIVE: string;
export const crypto_secretstream_xchacha20poly1305_ABYTES: number;
export const crypto_secretstream_xchacha20poly1305_HEADERBYTES: number;
export const crypto_secretstream_xchacha20poly1305_KEYBYTES: number;
export const crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX: number;
export const crypto_scalarmult_ed25519_SCALARBYTES: number;
export const crypto_secretstream_xchacha20poly1305_TAG_FINAL: number;
export const crypto_secretstream_xchacha20poly1305_TAG_MESSAGE: number;
export const crypto_secretstream_xchacha20poly1305_TAG_PUSH: number;
export const crypto_secretstream_xchacha20poly1305_TAG_REKEY: number;
export const crypto_secretstream_xchacha20poly1305_TAG_FINAL: Buffer;
export const crypto_secretstream_xchacha20poly1305_TAG_MESSAGE: Buffer;
export const crypto_secretstream_xchacha20poly1305_TAG_PUSH: Buffer;
export const crypto_secretstream_xchacha20poly1305_TAG_REKEY: Buffer;
/** NOTE: Unofficial constant */
export const crypto_secretstream_xchacha20poly1305_TAGBYTES: number;
export const crypto_shorthash_BYTES: number;
export const crypto_shorthash_KEYBYTES: number;
export const crypto_shorthash_PRIMITIVE: string;
export const crypto_sign_BYTES: number;
export const crypto_sign_PUBLICKEYBYTES: number;
export const crypto_sign_SECRETKEYBYTES: number;
export const crypto_sign_BYTES: number;
export const crypto_sign_SEEDBYTES: number;
export const crypto_auth_BYTES: number;
export const crypto_auth_KEYBYTES: number;
export const crypto_scalarmult_BYTES: number;
export const crypto_scalarmult_SCALARBYTES: number;
/** NOTE: Unofficial constant */
export const crypto_secretstream_xchacha20poly1305_TAGBYTES: number;
export const crypto_box_SEALBYTES: number;
export const crypto_box_PUBLICKEYBYTES: number;
export const crypto_box_SECRETKEYBYTES: number;
export const crypto_box_MACBYTES: number;
export const crypto_box_NONCEBYTES: number;
export const crypto_stream_chacha20_KEYBYTES: number;
export const crypto_stream_chacha20_NONCEBYTES: number;
export const crypto_stream_chacha20_xor_STATEBYTES: number;
export const crypto_stream_KEYBYTES: number;
export const crypto_stream_NONCEBYTES: number;
export const crypto_stream_PRIMITIVE: string;
export const crypto_stream_xor_STATEBYTES: number;
export const randombytes_SEEDBYTES: number;

@@ -134,0 +202,0 @@ /**

4

sodium-native/package.json
{
"name": "@types/sodium-native",
"version": "2.3.3",
"version": "2.3.4",
"description": "TypeScript definitions for sodium-native",

@@ -24,4 +24,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "1ec0125048e3c543f19810d21cab16bfaff464abdf9de30feb6c83ab66380113",
"typesPublisherContentHash": "21617ffbab93bc69de4d3ae0fcaf603dc1564538d6fad7aca5cf6ef019e4db5b",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 22 Mar 2020 20:51:30 GMT
* Last updated: Sun, 22 Mar 2020 22:06:46 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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