Giter VIP home page Giter VIP logo

pwdgen.el's Introduction

pwdgen.el

Library for generating secure passwords from within Emacs. Simple and intuitive; see Example

Linux, BSD, macOS, and other Unix-like systems only until I can find a way to fetch sufficiently random characters from Emacs for Windows (see Built-in pseudo-random number generator).

Usage

(pwdgen length with-chars &optional without-chars)

Call the pwdgen function from Lisp or the Eshell to generate a secure password of length characters using the characters with-chars, optionally excluding the characters in without-chars. You can use regex character alternative notation for with-chars and without-chars. Like so:

Example

(pwdgen 32 "A-Za-z0-9")    ; Generate a 32-character password with only alphanumeric characters"6sud2B3eRTcGWnS8ttOBJaS0YfJyKVWm"
(pwdgen 16 "!-~" "A-Za-z") ; Generate a 16-character password using all printable ASCII characters EXCEPT letters"!,*#':3_$~8;'0|]"

See the documentation of the pwdgen function for more details.

Eshell

If you use the amazing Eshell, pwdgen acts like other command-line password generators:

~ $ pwdgen 32 A-Za-z0-9
MYHdBLc9P7l3GPRPMNnj2IoQJVB5T3k9
~ $ pwdgen 16 "!-~" A-Za-z
/1&]-%(/#"79@#[>

pwdgen.el's People

Contributors

wi11dey avatar

Watchers

 avatar

Forkers

swannedlakee

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.