WordList

public enum WordList : String
  • Declaration

    Swift

    case chinese
  • Declaration

    Swift

    case english
  • Note

    Make internal.

    Generate a set of random words. The number of words generated depends on entropy; the higher it is, the more words that are generated.

    Declaration

    Swift

    public func randomWords<Entropy>(withEntropy generator: Entropy) throws -> [String] where Entropy : EntropyGenerator

    Return Value

    A list of words, also known as a mnemonic, or seed phrase.