Beta

Mnemo Passwords : pwgen

Description:

#As a serial surfer I need a trick to retrieve my passwords easily, so I'm an heartbleed proof user.

  • I want a unique password for each of my services.
  • I want to be able to retrieve them without having to memorize or store them.
  • I want them to be bullet proof.

Given a generic password and a service name, when I create a new account, I need to generate a password which must respect the following sequence :

  • Last character of the service name.
  • Character at index number of vowels (1-based, take the first character if there are no vowels).
  • My generic password here.
  • The number of non vowels characters.
  • The first character of the service name.

Sample :

pwgen("azerty", "codewars") === "sdazerty5c"
Algorithms

Stats:

CreatedMay 2, 2014
PublishedMay 2, 2014
Warriors Trained154
Total Skips3
Total Code Submissions1083
Total Times Completed118
JavaScript Completions118
Total Stars5
% of votes with a positive feedback rating86% of 66
Total "Very Satisfied" Votes53
Total "Somewhat Satisfied" Votes8
Total "Not Satisfied" Votes5
Total Rank Assessments74
Average Assessed Rank
7 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • vferries Avatar
Ad