Swiftpack.co -  KizzyCode/diceware-swift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
An implementation of the popular diceware method (https://en.wikipedia.org/wiki/Diceware)
.package(url: "https://github.com/KizzyCode/diceware-swift.git", from: "1.1.0")

License BSD-2-Clause License MIT Travis CI


An implementation of the popular diceware method



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


$ diceware


Stars: 0
Last commit: 22 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Diceware 1.1.0
22 weeks ago

Added a German wordlist

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