Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Bitmessage/PyBitmessage
/ BN_num_bytes
Method
BN_num_bytes
src/pyelliptic/openssl.py:433–437 ·
view source on GitHub ↗
returns the length of a BN (OpenSSl API)
(self, x)
Source
from the content-addressed store, hash-verified
431
}
432
433
def
BN_num_bytes(self, x):
434
""
"
435
returns the length of a BN (OpenSSl API)
436
""
"
437
return
int((self.BN_num_bits(x) + 7) / 8)
438
439
def
get_cipher(self, name):
440
""
"
Callers
1
_generate
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected