/diceware-swift

An implementation of the popular diceware method (https://en.wikipedia.org/wiki/Diceware)

Primary LanguageSwift

License BSD-2-Clause License MIT AppVeyor CI

Diceware

An implementation of the popular diceware method

Example

Package

/// Generate a random password with at least 2^256 possibilities
let password = Diceware.random(securityBits: 256)
print("Password:", password)

Binary

$ diceware
kebab.denture.deploy.devourer.unsaved.hungry.willing.unsmooth.contrite.resort