Giter VIP home page Giter VIP logo

ldap_passwd's Introduction

ldap_passwd

ldap_passwd v0.1.0 Build

Simple password utility for ldap userPassword writing using dart, you can find some alternatives in other language world.

What is it

This is a simple lib and cli tool for generating or verifying the ldap userPassword.

It supports salted:

  • md5
  • sha1
  • sha224
  • sha256
  • sha384
  • sha512

How to use it

CLI usage

  1. download the prebuild binary from the release page.
  2. pub global activate ldap_passwd

LIB usage

First add this dependence in your pubspec.yaml file, then import it in your app.

dependencies:
  ldap_passwd: ^0.1.0

or

dependencies:
  ldap_passwd:
    git: git://github.com/liudonghua123/ldap_passwd.git
import 'package:ldap_passwd/ldap_passwd.dart';
// ......
var ldapPasswd = LdapPasswd('<plain_password_here>');
var generated_hashed_password = generatePassword();
var isMatch = LdapPasswd.checkPassword(generated_hashed_password);

License

MIT License

Copyright (c) 2020 liudonghua

ldap_passwd's People

Contributors

liudonghua123 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.