cryptnoxpy.cryptos package
Submodules
cryptnoxpy.cryptos.main module
Module containing core cryptographic functions for Cryptnox cards.
Provides elliptic curve cryptography (secp256k1), key generation, digital signatures, and cryptocurrency address generation.
- cryptnoxpy.cryptos.main.slice(obj, start=0, end=1606938044258990275541962092341162602522202993782792835301376)[source]
- cryptnoxpy.cryptos.main.pubtoaddr(pubkey, magicbyte=0)
cryptnoxpy.cryptos.py2specials module
Module containing Python 2 compatibility utilities.
Provides type definitions, string/bytes handling, and encoding utilities for Python 2 compatibility in cryptographic operations.
cryptnoxpy.cryptos.py3specials module
Module containing Python 3 specific cryptographic implementations.
Provides Python 3 optimized cryptographic functions including elliptic curve operations, ECDSA signing/verification, and mathematical utilities for secp256k1 operations.
cryptnoxpy.cryptos.ripemd module
Module containing RIPEMD-160 hash algorithm implementation.
Pure Python implementation of the RIPEMD-160 cryptographic hash function. Used for generating Bitcoin addresses and other cryptographic operations.
- class cryptnoxpy.cryptos.ripemd.RIPEMD160(arg=None)[source]
Bases:
objectReturn a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.
- cryptnoxpy.cryptos.ripemd.new(arg=None)[source]
Return a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.
Module contents
Module containing cryptographic utilities for Cryptnox cards.
The cryptnoxpy.cryptos package contains cryptographic utilities for Cryptnox cards and exports:
Main cryptographic operations module. See cryptnoxpy.cryptos.main for details.
Python 2 specific cryptographic utilities. See cryptnoxpy.cryptos.py2specials for details.
Python 3 specific cryptographic utilities. See cryptnoxpy.cryptos.py3specials for details.
- py3specials.encode_pubkey(pubkey, formt)
Encode a public key in the specified format. See
cryptnoxpy.cryptos.main.encode_pubkey()for details.