Skip to content

Instantly share code, notes, and snippets.

@kevinl95
Created November 8, 2018 02:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinl95/a289eae1b4170bae2a7a3b115120feff to your computer and use it in GitHub Desktop.
Save kevinl95/a289eae1b4170bae2a7a3b115120feff to your computer and use it in GitHub Desktop.
structure (PasswordResult) {
description (The resulting password from the generate action.)
property (Password) {
description (The resulting password string from the generator.)
type (Password)
min (Required)
max (One)
}
property (length) {
description (The number of words used.)
type (length)
min (Required)
max (One)
}
property (entropy) {
description (Approximate bits of entropy for the password.)
type (entropy)
min (Required)
max (One)
}
property (years) {
description (Approximate number of years to guess the password at 1000 guesses per second.)
type (years)
min (Required)
max (One)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment