Tagged: vue password generator norton

Strong Random Password Generator Using VueJS 0

Strong Random Password Generator Using VueJS

Strong Random Password Generator Using VueJS

In this Post We Will Explain About is Strong Random Password Generator Using VueJS With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to Strong Password Generator Using VueJS Example

In this post we will show you Best way to implement VueJS Secure Password Generator , hear for Password Generator Using Vue.js v2 with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.

VueJS Secure Password Generator

In this Example,First of all Add or Include External Libs Like as a(jQuery, css etc..), and then create a simple index.php or index.html page.After that crate a simple javascript file like as a index.js or main.js, It is also add your web-application First Header Part to some priority set.After that Include your relevant CSS Class.

Strong Password Generator(Vuejs) is a utility one type of the module which provides best way to straight-forward create password, powerful latest password generation vuejs function.

index.html

Vue.component('vue-password', {
  template: '<div class="input-live24u"><span class="input-live24u-addon"><span class="fa fa-lock"></span></span><input :type="type" class="form-control" :placeholder="placeholder" :value="password" /><span class="input-live24u-btn"><button type="button" class="btn btn-success" @click="LiveCharGenarte()"><span class="fa fa-user"></span></button></span></div>',
  props : {
    type: {
      type: String,
      default: 'text'
    },
    size: {
      type: String,
      default: '32'
    },
    characters: {
      type: String,
      default: 'a-z,A-Z,0-9,#'
    },
    placeholder: {
      type: String,
      default: 'Password'
    },
    auto: [String, Boolean],
    value: ''
  },
  data: function() {
    return {
      password: this.value
    }
  },
  mounted: function() {
    if(this.auto == 'true' || this.auto == 1) {
      this.LiveCharGenarte();
    }
  },
  methods: {
    
    LiveCharGenarte: function() {
      let dynCharArr = this.characters.split(',');  
      let LiveCharGenarte_nchar = '';
      let password = '';
      
      if( dynCharArr.indexOf('a-z') >= 0) {
        LiveCharGenarte_nchar += 'abcdefghijklmnopqrstuvwxyz';
      }
      if( dynCharArr.indexOf('A-Z') >= 0) {
        LiveCharGenarte_nchar += 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
      }
      if( dynCharArr.indexOf('0-9') >= 0) {
        LiveCharGenarte_nchar += '0123456789';
      }
      if( dynCharArr.indexOf('#') >= 0) {
        LiveCharGenarte_nchar += '![]{}()%&*$#^<>[email protected]|';
      }
      
      for(let i=0; i < this.size; i++) {
        password += LiveCharGenarte_nchar.charAt(Math.floor(Math.random() * LiveCharGenarte_nchar.length));
      }
      this.password = password;
    }
    
  }
});

new Vue({
  el: '#liveApp',
  data: {},
  methods: {}
});

index.js

<div class="heading">
  <h1>Vue.js Password Generator</h1>
  <h4>A simple example creating a password generator using Vue.js v2.x.</h4>
</div>
<!-- Devloped by Pakainfo.com free download examples -->
<div class="container" id="liveApp">
  
  <div class="row">
    <div class="col-sm-12">
      <div class="form-live24u">
        <vue-password size="45" auto="true" class=""></vue-password>
      </div>
    </div>
  </div>
  
  <br />
  
  <h2>Live24u Script Demo</h2><hr>
<!-- Devloped by Pakainfo.com free download examples -->
  <div class="form-live24u">
    <label class="text-muted">Using all of the Live24u set Char sets:</label>
    <vue-password size="25" auto="true" characters="a-z,A-Z,0-9,#"></vue-password>
  </div>

  <div class="form-live24u">
    <label class="text-muted">Using both the Live24u a-z and A-Z set Char sets:</label>
    <vue-password size="25" auto="true" characters="a-z,A-Z"></vue-password>
  </div>

  <div class="form-live24u">
    <label class="text-muted">Using once the Live24u A-Z set Char set:</label>
    <vue-password size="25" auto="true" characters="A-Z"></vue-password>
  </div>
<!-- Devloped by Pakainfo.com free download examples -->
  <div class="form-live24u">
    <label class="text-muted">Using once the Live24u a-z set Char set:</label>
    <vue-password size="25" auto="true" characters="a-z"></vue-password>
  </div>

  <div class="form-live24u">
    <label class="text-muted">Using once the Live24u number set Char set:</label>
    <vue-password size="25" auto="true" characters="0-9"></vue-password>
  </div>
</div>

Example

You are Most welcome in my youtube Channel Please subscribe my channel. and give me FeedBack.
More Details……
Angularjs Example

Example

I hope you have Got What is Generate random password in Vuejs And how it works.I would Like to have FeedBack From My Blog(Pakainfo.com) readers.Your Valuable FeedBack,Any Question,or any Comments about This Article(Pakainfo.com) Are Most Always Welcome.