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

@bscotch/utility

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/utility - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

build/lib/crypto.d.ts

1

build/index.d.ts

@@ -6,2 +6,3 @@ export * from "./lib/strings";

export * from "./lib/objects";
export * from "./lib/crypto";
//# sourceMappingURL=index.d.ts.map

@@ -18,2 +18,3 @@ "use strict";

__exportStar(require("./lib/objects"), exports);
__exportStar(require("./lib/crypto"), exports);
//# sourceMappingURL=index.js.map

@@ -0,1 +1,10 @@

## [0.8.2](https://github.com/bscotch/node-util/compare/v0.8.1...v0.8.2) (2020-11-27)
### Features
* Simple hashing functions added (md5, sha1, sha256, choose-your-own-adventure). ([56b49ce](https://github.com/bscotch/node-util/commit/56b49cedfd387928b45a2056450bcec2a1859ad5))
## [0.8.1](https://github.com/bscotch/node-util/compare/v0.8.0...v0.8.1) (2020-11-17)

@@ -2,0 +11,0 @@

2

package.json
{
"name": "@bscotch/utility",
"version": "0.8.1",
"version": "0.8.2",
"description": "Bscotch Utilities: Methods for common Node.js needs.",

@@ -5,0 +5,0 @@ "engines": {

@@ -193,1 +193,15 @@ # Bscotch Utilities

## Crypto
```ts
import {
md5,
sha1,
sha256,
createHash,
} from '@bscotch/utility';
let hash = md5('hello world'); // hex hash
hash = sha256('hello world','base64'); // Base64 hash
hash = createHash('sha1','hello world');
```

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