Socket
Book a DemoInstallSign in
Socket

alt-sasl-digest-md5

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alt-sasl-digest-md5

JavaScript implementation of DIGEST-MD5 SASL mechanism.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

SASL : DIGEST-MD5

Build Status Dependency Status devDependency Status

Browser Support

This module is a JavaScript implementation of the DIGEST-MD5 SASL mechanism, which plugs into the SASL framework.

Installing

$ npm install alt-sasl-digest-md5

Usage

Register the DIGEST-MD5 mechanism.

factory.use(require('alt-sasl-digest-md5'));

Send an authentication response with necessary credentials.

var mech = factory.create(['DIGEST-MD5']);
var resp = mech.challenge('realm="elwood.innosoft.com",nonce="OA6MG9tEQGm2hh",qop="auth",algorithm=md5-sess,charset=utf-8')
               .response({ username: 'chris', password: 'secret', host: 'elwood.innosoft.com', serviceType: 'imap' });

Credits

License

The MIT License

Copyright (c) 2014 Lance Stout <http://github.com/legasteros/> Copyright (c) 2012 Jared Hanson <http://jaredhanson.net/>

Keywords

sasl

FAQs

Package last updated on 12 Feb 2015

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