1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 03:00:06 +08:00
SpaceVim/docs/api/password.md
2020-09-14 22:47:49 +08:00

913 B

title description
password API password API provides some basic functions for generating password

Available APIs >> password

Intro

This api provides some basic Functions for generating password.

let s:PW = SpaceVim#api#import('password')
let password = s:PW.generate_simple(8)
echom password
" you should see a string like `GAN0q7aE`

Functions

function name description
generate_simple(len) generating simple password
generate_strong(len) generating strong password
generate_paranoid(len) generating paranoid password
generate_numeric(len) generating numeric password
generate_phonetic(len) generating phonetic password