iota/crypto/types.py
def random(cls, length=Hash.LEN):
        """
        Generates a random seed using a CSPRNG.

        :param length:
            Length of seed, in trytes.

            For maximum security, this should always be set to 81, but
            you can change it if you're 110% sure you know what you're
            doing.

            See https://iota.stackexchange.com/q/249 for more info.
        """
        return super(Seed, cls).random(length)
def random(cls, length=Hash.LEN):
        return super(Seed, cls).random(length)
def random ( cls , length = Hash . LEN ) : return super ( Seed , cls ) . random ( length )
Generates a random seed using a CSPRNG.

        :param length:
            Length of seed, in trytes.

            For maximum security, this should always be set to 81, but
            you can change it if you're 110% sure you know what you're
            doing.

            See https://iota.stackexchange.com/q/249 for more info.
Generates a random seed using a CSPRNG .