Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyca/cryptography
/ functions
Functions
3,887 in github.com/pyca/cryptography
⨍
Functions
3,887
◇
Types & classes
731
↳
Endpoints
1
↓ 3 callers
Function
message_digest_from_algorithm
( py: pyo3::Python<'_>, algorithm: &pyo3::PyAny, )
src/rust/src/backend/hashes.rs:39
↓ 3 callers
Method
parameters
(self, backend: typing.Any = None)
src/cryptography/hazmat/primitives/asymmetric/dh.py:50
↓ 3 callers
Function
parse_general_name
( py: pyo3::Python<'_>, gn: GeneralName<'_>, )
src/rust/src/x509/common.rs:251
↓ 3 callers
Method
private_numbers
Returns a DHPrivateNumbers.
src/cryptography/hazmat/primitives/asymmetric/dh.py:243
↓ 3 callers
Method
public_bytes
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:904
↓ 3 callers
Method
public_key
(self, backend: typing.Any = None)
src/cryptography/hazmat/primitives/asymmetric/ec.py:370
↓ 3 callers
Method
read_exact
(&mut self, length: usize)
src/rust/src/x509/sct.rs:28
↓ 3 callers
Method
sign
Signs the request using the requestor's private key.
src/cryptography/x509/base.py:703
↓ 3 callers
Function
skip_fips_traditional_openssl
(backend, fmt)
tests/hazmat/primitives/utils.py:540
↓ 3 callers
Method
value
(self)
src/cryptography/x509/base.py:113
↓ 3 callers
Method
verify
(self, key_material: bytes, expected_key: bytes)
src/cryptography/hazmat/primitives/kdf/concatkdf.py:80
↓ 3 callers
Method
verify
(self, key_material: bytes, expected_key: bytes)
src/cryptography/hazmat/primitives/kdf/concatkdf.py:122
↓ 3 callers
Function
verify_signature_with_signature_algorithm
( py: pyo3::Python<'p>, issuer_public_key: &'p pyo3::PyAny, signature_algorithm: &common::Algorith
src/rust/src/x509/sign.rs:372
↓ 3 callers
Method
x25519_supported
(self)
src/cryptography/hazmat/backends/openssl/backend.py:1510
↓ 3 callers
Method
x448_supported
(self)
src/cryptography/hazmat/backends/openssl/backend.py:1524
↓ 2 callers
Method
__init__
( self, oid: ObjectIdentifier, value: bytes, _type: int = _ASN1Type.UTF8String
src/cryptography/x509/base.py:98
↓ 2 callers
Method
__init__
( self, digital_signature: bool, content_commitment: bool, key_encipherment: b
src/cryptography/x509/extensions.py:1130
↓ 2 callers
Function
_byte_padding_check
(block_size: int)
src/cryptography/hazmat/primitives/padding.py:32
↓ 2 callers
Function
_byte_padding_pad
( buffer_: typing.Optional[bytes], block_size: int, paddingfn: typing.Callable[[int], bytes], )
src/cryptography/hazmat/primitives/padding.py:58
↓ 2 callers
Function
_byte_padding_update
( buffer_: typing.Optional[bytes], data: bytes, block_size: int )
src/cryptography/hazmat/primitives/padding.py:40
↓ 2 callers
Function
_byte_unpadding_check
( buffer_: typing.Optional[bytes], block_size: int, checkfn: typing.Callable[[bytes], int], )
src/cryptography/hazmat/primitives/padding.py:88
↓ 2 callers
Function
_byte_unpadding_update
( buffer_: typing.Optional[bytes], data: bytes, block_size: int )
src/cryptography/hazmat/primitives/padding.py:70
↓ 2 callers
Method
_cert2ossl
(self, cert: x509.Certificate)
src/cryptography/hazmat/backends/openssl/backend.py:865
↓ 2 callers
Function
_check_dsa_private_numbers
(skey)
tests/hazmat/primitives/utils.py:533
↓ 2 callers
Function
_check_key_infinity
(backend: Backend, ec_cdata)
src/cryptography/hazmat/backends/openssl/ec.py:77
↓ 2 callers
Method
_check_limit
(self, data_size: int)
src/cryptography/hazmat/primitives/ciphers/base.py:202
↓ 2 callers
Method
_check_params
( self, nonce: bytes, data: bytes, associated_data: bytes, )
src/cryptography/hazmat/primitives/ciphers/aead.py:76
↓ 2 callers
Method
_check_params
( self, nonce: bytes, data: bytes, associated_data: bytes )
src/cryptography/hazmat/primitives/ciphers/aead.py:164
↓ 2 callers
Method
_check_params
( self, nonce: bytes, data: bytes, associated_data: bytes, )
src/cryptography/hazmat/primitives/ciphers/aead.py:224
↓ 2 callers
Method
_check_params
( self, nonce: bytes, data: bytes, associated_data: bytes, )
src/cryptography/hazmat/primitives/ciphers/aead.py:293
↓ 2 callers
Method
_check_params
( self, data: bytes, associated_data: typing.List[bytes], )
src/cryptography/hazmat/primitives/ciphers/aead.py:364
↓ 2 callers
Function
_check_rsa_private_numbers_if_serializable
(key)
tests/hazmat/primitives/test_rsa.py:85
↓ 2 callers
Function
_check_signature_algorithm
( signature_algorithm: ec.EllipticCurveSignatureAlgorithm, )
src/cryptography/hazmat/backends/openssl/ec.py:25
↓ 2 callers
Function
_common_args_checks
( algorithm: hashes.HashAlgorithm, length: int, otherinfo: typing.Optional[bytes], )
src/cryptography/hazmat/primitives/kdf/concatkdf.py:19
↓ 2 callers
Function
_concatkdf_derive
( key_material: bytes, length: int, auxfn: typing.Callable[[], hashes.HashContext], otherinfo:
src/cryptography/hazmat/primitives/kdf/concatkdf.py:31
↓ 2 callers
Method
_dynamic_truncate
(self, counter: int)
src/cryptography/hazmat/primitives/twofactor/hotp.py:78
↓ 2 callers
Function
_ec_key_curve_sn
(backend: Backend, ec_key)
src/cryptography/hazmat/backends/openssl/ec.py:35
↓ 2 callers
Method
_ec_key_new_by_curve_nid
(self, curve_nid: int)
src/cryptography/hazmat/backends/openssl/backend.py:1173
↓ 2 callers
Method
_ec_key_set_public_key_affine_coordinates
Sets the public key point in the EC_KEY context to the affine x and y values.
src/cryptography/hazmat/backends/openssl/backend.py:1224
↓ 2 callers
Method
_elliptic_curve_to_nid
Get the NID for a curve name.
src/cryptography/hazmat/backends/openssl/backend.py:1196
↓ 2 callers
Method
_enable_blinding
(self)
src/cryptography/hazmat/backends/openssl/rsa.py:417
↓ 2 callers
Function
_enc_dec_rsa
( backend: Backend, key: typing.Union[_RSAPrivateKey, _RSAPublicKey], data: bytes, padding: As
src/cryptography/hazmat/backends/openssl/rsa.py:64
↓ 2 callers
Method
_ensure_ffi_initialized
(cls)
src/cryptography/hazmat/bindings/openssl/binding.py:103
↓ 2 callers
Function
_evp_aead_get_cipher
(backend: Backend, cipher: _AEADTypes)
src/cryptography/hazmat/backends/openssl/aead.py:130
↓ 2 callers
Function
_evp_cipher
(cipher_name: bytes, backend: Backend)
src/cryptography/hazmat/backends/openssl/aead.py:251
↓ 2 callers
Function
_evp_cipher_aead_setup
( backend: Backend, cipher_name: bytes, key: bytes, nonce: bytes, tag: typing.Optional[byt
src/cryptography/hazmat/backends/openssl/aead.py:290
↓ 2 callers
Function
_evp_cipher_process_aad
( backend: Backend, ctx, associated_data: bytes )
src/cryptography/hazmat/backends/openssl/aead.py:376
↓ 2 callers
Function
_evp_cipher_process_data
(backend: Backend, ctx, data: bytes)
src/cryptography/hazmat/backends/openssl/aead.py:387
↓ 2 callers
Function
_evp_cipher_set_length
(backend: Backend, ctx, data_len: int)
src/cryptography/hazmat/backends/openssl/aead.py:368
↓ 2 callers
Function
_evp_cipher_set_nonce_operation
( backend, ctx, nonce: bytes, operation: int )
src/cryptography/hazmat/backends/openssl/aead.py:353
↓ 2 callers
Function
_evp_cipher_set_tag
(backend, ctx, tag: bytes)
src/cryptography/hazmat/backends/openssl/aead.py:345
↓ 2 callers
Method
_evp_md_from_algorithm
(self, algorithm: hashes.HashAlgorithm)
src/cryptography/hazmat/backends/openssl/backend.py:196
↓ 2 callers
Method
_extract
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/hkdf.py:35
↓ 2 callers
Function
_generate_uri
( hotp: HOTP, type_name: str, account_name: str, issuer: typing.Optional[str], extra_param
src/cryptography/hazmat/primitives/twofactor/hotp.py:18
↓ 2 callers
Function
_get_ec_hash_alg
(curve: ec.EllipticCurve)
src/cryptography/hazmat/primitives/serialization/ssh.py:944
↓ 2 callers
Method
_has_data
(self)
src/cryptography/x509/name.py:395
↓ 2 callers
Function
_init_cipher
Generate key + iv and return cipher.
src/cryptography/hazmat/primitives/serialization/ssh.py:193
↓ 2 callers
Function
_legacy_provider_error
(loaded: bool)
src/cryptography/hazmat/bindings/openssl/binding.py:41
↓ 2 callers
Method
_load_key
( self, openssl_read_func, data, password, unsafe_skip_rsa_key_validation )
src/cryptography/hazmat/backends/openssl/backend.py:894
↓ 2 callers
Method
_load_pkcs7_certificates
(self, p7)
src/cryptography/hazmat/backends/openssl/backend.py:1883
↓ 2 callers
Function
_load_ssh_public_identity
( data: bytes, _legacy_dsa_allowed=False, )
src/cryptography/hazmat/primitives/serialization/ssh.py:954
↓ 2 callers
Function
_mark_asn1_named_ec_curve
Set the named curve flag on the EC_KEY. This causes OpenSSL to serialize EC keys along with their curve OID which makes deserialization e
src/cryptography/hazmat/backends/openssl/ec.py:65
↓ 2 callers
Method
_non_threadsafe_enable_blinding
(self)
src/cryptography/hazmat/backends/openssl/rsa.py:424
↓ 2 callers
Method
_ossl2cert
(self, x509_ptr: typing.Any)
src/cryptography/hazmat/backends/openssl/backend.py:873
↓ 2 callers
Method
_private_key_bytes
( self, encoding: serialization.Encoding, format: serialization.PrivateFormat,
src/cryptography/hazmat/backends/openssl/backend.py:1257
↓ 2 callers
Method
_public_key_bytes
( self, encoding: serialization.Encoding, format: serialization.PublicFormat,
src/cryptography/hazmat/backends/openssl/backend.py:1394
↓ 2 callers
Function
_skip_hashfn_unsupported
(backend, hashfn)
tests/hazmat/primitives/test_x963_vectors.py:19
↓ 2 callers
Function
_skip_pss_hash_algorithm_unsupported
(backend, hash_alg)
tests/hazmat/primitives/test_rsa.py:139
↓ 2 callers
Method
_test_load_pkcs12_ec_keys
(self, filename, password, backend)
tests/hazmat/primitives/test_pkcs12.py:53
↓ 2 callers
Function
_unwrap_core
( wrapping_key: bytes, a: bytes, r: typing.List[bytes], )
src/cryptography/hazmat/primitives/keywrap.py:58
↓ 2 callers
Function
_verify_package_version
(version: str)
src/cryptography/hazmat/bindings/openssl/binding.py:137
↓ 2 callers
Method
_verify_signature
(self, data: bytes)
src/cryptography/fernet.py:130
↓ 2 callers
Function
_wrap_core
( wrapping_key: bytes, a: bytes, r: typing.List[bytes], )
src/cryptography/hazmat/primitives/keywrap.py:15
↓ 2 callers
Method
_wrap_ctx
( self, ctx: _BackendCipherContext, encrypt: bool )
src/cryptography/hazmat/primitives/ciphers/base.py:142
↓ 2 callers
Method
_zeroed_null_terminated_buf
This method takes bytes, which can be a bytestring or a mutable buffer like a bytearray, and yields a null-terminated version of that
src/cryptography/hazmat/backends/openssl/backend.py:1578
↓ 2 callers
Method
add_extension
( self, extval: x509.ExtensionType, critical: bool )
src/cryptography/x509/ocsp.py:471
↓ 2 callers
Method
as_raw
Returns a reference to the underlying extensions.
src/rust/cryptography-x509/src/extensions.rs:56
↓ 2 callers
Method
as_str
(&self)
src/rust/cryptography-x509/src/common.rs:282
↓ 2 callers
Function
bytes_eq
(a: bytes, b: bytes)
src/cryptography/hazmat/primitives/constant_time.py:10
↓ 2 callers
Function
cert_version
(py: pyo3::Python<'_>, version: u8)
src/rust/src/x509/certificate.rs:330
↓ 2 callers
Function
clone_dsa_params
( d: &openssl::dsa::Dsa<T>, )
src/rust/src/backend/dsa.rs:108
↓ 2 callers
Method
cmac_algorithm_supported
(self, algorithm)
src/cryptography/hazmat/backends/openssl/backend.py:733
↓ 2 callers
Function
constant_time_lt
This returns 0xFF if a < b else 0x00, but does so in a constant time fashion.
src/rust/src/lib.rs:25
↓ 2 callers
Method
copy
(&self, py: pyo3::Python<'_>)
src/rust/src/backend/hashes.rs:130
↓ 2 callers
Method
copy
(self)
src/cryptography/hazmat/primitives/cmac.py:62
↓ 2 callers
Method
create_cmac_ctx
(self, algorithm: BlockCipherAlgorithm)
src/cryptography/hazmat/backends/openssl/backend.py:738
↓ 2 callers
Function
create_module
(py: pyo3::Python<'_>)
src/rust/src/backend/dh.rs:420
↓ 2 callers
Function
cvt_p
(r: *mut T)
src/rust/cryptography-openssl/src/lib.rs:20
↓ 2 callers
Function
datetime_now
(py: pyo3::Python<'_>)
src/rust/src/x509/common.rs:548
↓ 2 callers
Function
deprecated
( value: object, module_name: str, message: str, warning_class: typing.Type[Warning], name
src/cryptography/utils.py:91
↓ 2 callers
Method
dh_parameters_supported
( self, p: int, g: int, q: typing.Optional[int] = None )
src/cryptography/hazmat/backends/openssl/backend.py:1484
↓ 2 callers
Method
elliptic_curve_exchange_algorithm_supported
( self, algorithm: ec.ECDH, curve: ec.EllipticCurve )
src/cryptography/hazmat/backends/openssl/backend.py:1178
↓ 2 callers
Function
encode_distribution_point_reasons
( py: pyo3::Python<'_>, py_reasons: &pyo3::PyAny, )
src/rust/src/x509/certificate.rs:640
↓ 2 callers
Method
finalize_with_tag
Returns the results of processing the final block as bytes and allows delayed passing of the authentication tag.
src/cryptography/hazmat/primitives/ciphers/base.py:56
↓ 2 callers
Method
generate_dh_parameters
( self, generator: int, key_size: int )
src/cryptography/hazmat/backends/openssl/backend.py:1452
↓ 2 callers
Method
generate_dsa_parameters
(self, key_size: int)
src/cryptography/hazmat/backends/openssl/backend.py:686
↓ 2 callers
Function
generate_hkdf_test
(param_loader, path, file_names, algorithm)
tests/hazmat/primitives/utils.py:369
↓ 2 callers
Function
generate_rsa_verification_test
( param_loader, path, file_names, hash_alg, pad_factory )
tests/hazmat/primitives/utils.py:490
↓ 2 callers
Method
get_mut_ctx
(&mut self)
src/rust/src/backend/hmac.rs:28
↓ 2 callers
Method
get_mut_ctx
(&mut self)
src/rust/src/backend/hashes.rs:31
← previous
next →
301–400 of 3,887, ranked by callers