Socket
Socket
Sign inDemoInstall

@iov/crypto

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iov/crypto - npm Package Compare versions

Comparing version 0.7.1 to 0.8.0

4

build/libsodium.js

@@ -90,3 +90,3 @@ "use strict";

const additionalData = undefined;
return sodium.crypto_aead_xchacha20poly1305_ietf_encrypt(message, additionalData, null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/xchacha20-poly1305_construction.html)
return sodium.crypto_aead_xchacha20poly1305_ietf_encrypt(message, additionalData, null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/aead/chacha20-poly1305/xchacha20-poly1305_construction)
nonce, key);

@@ -99,3 +99,3 @@ });

const additionalData = undefined;
return sodium.crypto_aead_xchacha20poly1305_ietf_decrypt(null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/ietf_chacha20-poly1305_construction.html)
return sodium.crypto_aead_xchacha20poly1305_ietf_decrypt(null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/aead/chacha20-poly1305/xchacha20-poly1305_construction)
ciphertext, additionalData, nonce, key);

@@ -102,0 +102,0 @@ });

{
"name": "@iov/crypto",
"version": "0.7.1",
"version": "0.8.0",
"description": "Cryptography resources for IOV projects",

@@ -33,3 +33,3 @@ "author": "IOV SAS <admin@iov.one>",

"dependencies": {
"@iov/encoding": "^0.7.1",
"@iov/encoding": "^0.8.0",
"bip39": "^2.5.0",

@@ -48,3 +48,3 @@ "bn.js": "^4.11.8",

},
"gitHead": "8f28a3ba4db2d6dd38ef59aef1ff31940d9a75dc"
"gitHead": "08220c00bbf793a17c657d0d3c5ad8ea978f674f"
}

@@ -111,3 +111,3 @@ // Keep all classes requiring libsodium-js in one file as having multiple

additionalData,
null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/xchacha20-poly1305_construction.html)
null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/aead/chacha20-poly1305/xchacha20-poly1305_construction)
nonce,

@@ -128,3 +128,3 @@ key,

return sodium.crypto_aead_xchacha20poly1305_ietf_decrypt(
null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/ietf_chacha20-poly1305_construction.html)
null, // secret nonce: unused and should be null (https://download.libsodium.org/doc/secret-key_cryptography/aead/chacha20-poly1305/xchacha20-poly1305_construction)
ciphertext,

@@ -131,0 +131,0 @@ additionalData,

import { HashFunction } from "./sha";
export declare class Ripemd160 implements HashFunction {
readonly blockSize: number;
readonly blockSize = 64;
private readonly impl;

@@ -5,0 +5,0 @@ constructor(firstData?: Uint8Array);

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