Beta
Mnemo Passwords : pwgen
118vferries
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
Similar Kata:
Stats:
Created | May 2, 2014 |
Published | May 2, 2014 |
Warriors Trained | 154 |
Total Skips | 3 |
Total Code Submissions | 1083 |
Total Times Completed | 118 |
JavaScript Completions | 118 |
Total Stars | 5 |
% of votes with a positive feedback rating | 86% of 66 |
Total "Very Satisfied" Votes | 53 |
Total "Somewhat Satisfied" Votes | 8 |
Total "Not Satisfied" Votes | 5 |
Total Rank Assessments | 74 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |