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

@types/crypto-js

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/crypto-js - npm Package Compare versions

Comparing version 3.1.38 to 3.1.39

0

crypto-js/aes/index.d.ts
import { AES } from '../index';
export = AES;
import * as Core from '../index';
export = Core;

@@ -0,0 +0,0 @@ import { enc } from '../index';

@@ -0,0 +0,0 @@ import { enc } from '../index';

@@ -0,0 +0,0 @@ import { enc } from '../index';

@@ -0,0 +0,0 @@ import { enc } from '../index';

@@ -0,0 +0,0 @@ import { enc } from '../index';

import { EvpKDF } from '../index';
export = EvpKDF;

@@ -0,0 +0,0 @@ import { format } from '../index';

@@ -0,0 +0,0 @@ import { format } from '../index';

import { HmacMD5 } from '../index';
export = HmacMD5;
import { HmacRIPEMD160 } from '../index';
export = HmacRIPEMD160;
import { HmacSHA1 } from '../index';
export = HmacSHA1;
import { HmacSHA224 } from '../index';
export = HmacSHA224;
import { HmacSHA256 } from '../index';
export = HmacSHA256;
import { HmacSHA3 } from '../index';
export = HmacSHA3;
import { HmacSHA384 } from '../index';
export = HmacSHA384;
import { HmacSHA512 } from '../index';
export = HmacSHA512;

52

crypto-js/index.d.ts

@@ -11,3 +11,2 @@ // Type definitions for crypto-js v3.1.8

declare namespace CryptoJS {
type Hash = (message: string | LibWordArray, key?: string | WordArray, ...options: any[]) => WordArray;
interface Cipher {

@@ -58,19 +57,36 @@ encrypt(message: string, secretPassphrase: string | WordArray, option?: CipherOption): WordArray;

export interface Hashes {
MD5: Hash;
SHA1: Hash;
SHA256: Hash;
SHA224: Hash;
SHA512: Hash;
SHA384: Hash;
SHA3: Hash;
RIPEMD160: Hash;
HmacMD5: Hash;
HmacSHA1: Hash;
HmacSHA256: Hash;
HmacSHA224: Hash;
HmacSHA512: Hash;
HmacSHA384: Hash;
HmacSHA3: Hash;
HmacRIPEMD160: Hash;
PBKDF2: Hash;
MD5(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
MD5(message: string | LibWordArray, ...options: any[]): WordArray;
SHA1(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
SHA1(message: string | LibWordArray, ...options: any[]): WordArray;
SHA256(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
SHA256(message: string | LibWordArray, ...options: any[]): WordArray;
SHA224(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
SHA224(message: string | LibWordArray, ...options: any[]): WordArray;
SHA512(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
SHA512(message: string | LibWordArray, ...options: any[]): WordArray;
SHA384(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
SHA384(message: string | LibWordArray, ...options: any[]): WordArray;
SHA3(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
SHA3(message: string | LibWordArray, ...options: any[]): WordArray;
RIPEMD160(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
RIPEMD160(message: string | LibWordArray, ...options: any[]): WordArray;
HmacMD5(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacMD5(message: string | LibWordArray, ...options: any[]): WordArray;
HmacSHA1(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacSHA1(message: string | LibWordArray, ...options: any[]): WordArray;
HmacSHA256(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacSHA256(message: string | LibWordArray, ...options: any[]): WordArray;
HmacSHA224(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacSHA224(message: string | LibWordArray, ...options: any[]): WordArray;
HmacSHA512(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacSHA512(message: string | LibWordArray, ...options: any[]): WordArray;
HmacSHA384(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacSHA384(message: string | LibWordArray, ...options: any[]): WordArray;
HmacSHA3(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacSHA3(message: string | LibWordArray, ...options: any[]): WordArray;
HmacRIPEMD160(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
HmacRIPEMD160(message: string | LibWordArray, ...options: any[]): WordArray;
PBKDF2(message: string | LibWordArray, key?: string | WordArray, ...options: any[]): WordArray;
PBKDF2(message: string | LibWordArray, ...options: any[]): WordArray;
AES: Cipher;

@@ -77,0 +93,0 @@ DES: Cipher;

declare const LibTypedarrays: any;
export = LibTypedarrays;
import { MD5 } from '../index';
export = MD5;

@@ -0,0 +0,0 @@ import { mode } from '../index';

@@ -0,0 +0,0 @@ import { mode } from '../index';

@@ -0,0 +0,0 @@ import { mode } from '../index';

@@ -0,0 +0,0 @@ import { mode } from '../index';

@@ -0,0 +0,0 @@ import { mode } from '../index';

{
"name": "@types/crypto-js",
"version": "3.1.38",
"version": "3.1.39",
"description": "TypeScript definitions for crypto-js",

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

"dependencies": {},
"typesPublisherContentHash": "85b02d906be04e1b7760c1a30078dbf4fd8d6df57803734e074224e3c2913ac9",
"typesPublisherContentHash": "7ce2c1f3503d6223f93010faa6582748ab6f025184e7d6037f92a887e3994e15",
"typeScriptVersion": "2.0"
}

@@ -0,0 +0,0 @@ import { pad } from '../index';

@@ -0,0 +0,0 @@ import { pad } from '../index';

@@ -0,0 +0,0 @@ import { pad } from '../index';

@@ -0,0 +0,0 @@ import { pad } from '../index';

@@ -0,0 +0,0 @@ import { pad } from '../index';

@@ -0,0 +0,0 @@ import { pad } from '../index';

import { PBKDF2 } from '../index';
export = PBKDF2;
import { RabbitLegacy } from '../index';
export = RabbitLegacy;
import { Rabbit } from '../index';
export = Rabbit;
import { RC4 } from '../index';
export = RC4;

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

Additional Details
* Last updated: Fri, 08 Dec 2017 22:43:13 GMT
* Last updated: Wed, 28 Mar 2018 17:46:04 GMT
* Dependencies: none

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

import { RIPEMD160 } from '../index';
export = RIPEMD160;
import { SHA1 } from '../index';
export = SHA1;
import { SHA224 } from '../index';
export = SHA224;
import { SHA256 } from '../index';
export = SHA256;
import { SHA3 } from '../index';
export = SHA3;
import { SHA384 } from '../index';
export = SHA384;
import { SHA512 } from '../index';
export = SHA512;
import { TripleDES } from '../index';
export = TripleDES;
import * as X64Core from '../index';
export = X64Core;

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