Swiftpack.co - KizzyCode/diceware-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by KizzyCode.
KizzyCode/diceware-swift 1.1.1
An implementation of the popular diceware method (https://en.wikipedia.org/wiki/Diceware)
⭐️ 0
🕓 51 weeks ago
.package(url: "https://github.com/KizzyCode/diceware-swift.git", from: "1.1.1")

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

GitHub

link
Stars: 0
Last commit: 51 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics