MCPcopy Create free account
hub / github.com/ccxt/ccxt / random_bytes

Method random_bytes

python/ccxt/base/exchange.py:1615–1616  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

1613
1614 @staticmethod
1615 def random_bytes(length):
1616 return format(random.getrandbits(length * 8), 'x')
1617
1618 @staticmethod
1619 def ecdsa(request, secret, algorithm='p256', hash=None, fixed_length=False):

Callers 2

create_auth_tokenMethod · 0.80
create_auth_tokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected