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

sha512-crypt-ts

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sha512-crypt-ts

Typescript wrapper for SHA-512, including $6$ crypt format.

  • 0.1.18
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

PRs Welcome Build Test and publish codecov Total alerts Language grade: JavaScript

SHA-512-crypt-ts

Crypt compatible typescript implementation inspired by mvo5/sha512crypt-node

Installation

Install NPM package
npm install --save sha512-crypt-ts
Import module
import { sha512 } from 'sha512-crypt-ts';
Usage
sha512.crypt('password', 'saltsalt');
// This is equivalent to: printf "password" | mkpasswd --stdin --method=sha-512 --salt=saltsalt
// Returns $6$saltsalt$qFmFH.bQmmtXzyBY0s9v7Oicd2z4XSIecDzlB5KiA2/jctKu9YterLp8wwnSq.qc.eoxqOmSuNp2xS0ktL3nh/

Another examples can be found in unit tests or in peer project bedlaj/unifi-reset-password.

Documentation

Generated docs can be found at https://bedlaj.github.io/sha512-crypt-ts/modules/_index_.sha512.html

Keywords

FAQs

Package last updated on 05 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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