Created
November 8, 2018 02:47
-
-
Save kevinl95/5ea58b99231bf51479aa147736d7a33e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<layout mode="Details"> | |
<match> | |
PasswordResult (r) | |
</match> | |
<content> | |
<layout-macro id="common:card"> | |
<title>Your New Password</title> | |
<titleSize>large</titleSize> | |
<bodyText>{{r.Password}}</bodyText> | |
</layout-macro> | |
<div>This password has a length of {{r.length}} words. This password has ~{{r.entropy}} bits of entropy and would therefore take a computer about {{r.years}} years to guess at 1000 guesses per second.</div> | |
<br> | |
<div>Inspired by <a href="https://xkcd.com/936/">"Password Strength"</a> by Randall Munroe</div> | |
</content> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment