MCPcopy Create free account
hub / github.com/cryptidtech/oberon / new_secret_key

Function new_secret_key

python/oberon/bindings.py:169–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167
168
169def new_secret_key() -> bytes:
170 buffer = FfiByteBuffer()
171 lib_fn = _get_func("oberon_new_secret_key")
172 lib_fn(byref(buffer))
173
174 result = _decode_bytes(buffer)
175 #_free_buffer(buffer)
176 return result
177
178
179def get_public_key(secret_key: bytes) -> bytes:

Callers 2

bindings.pyFile · 0.70
__init__Method · 0.70

Calls 3

FfiByteBufferClass · 0.85
_get_funcFunction · 0.85
_decode_bytesFunction · 0.85

Tested by

no test coverage detected