Functions

The following functions are available globally.

  • Generates pronounceable passwords.

    Use secure flag to generate completely random passwords.

    Declaration

    Swift

    public func pwgen(_ length: Int, _ count: Int, _ flags: PasswordFlags) -> [String]

    Parameters

    length

    Length of password

    count

    Number of passwords to generate

    flags

    PasswordFlags to use