@bscotch/utility
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46944
36
545
207