Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
hpke.py28 linesDownload Raw Back to primitives
1# This file is dual licensed under the terms of the Apache License, Version2# 2.0, and the BSD License. See the LICENSE file in the root of this repository3# for complete details.4 5from __future__ import annotations6 7from cryptography.hazmat.bindings._rust import openssl as rust_openssl8 9AEAD = rust_openssl.hpke.AEAD10KDF = rust_openssl.hpke.KDF11KEM = rust_openssl.hpke.KEM12MLKEM768X25519PrivateKey = rust_openssl.hpke.MLKEM768X25519PrivateKey13MLKEM768X25519PublicKey = rust_openssl.hpke.MLKEM768X25519PublicKey14MLKEM1024P384PrivateKey = rust_openssl.hpke.MLKEM1024P384PrivateKey15MLKEM1024P384PublicKey = rust_openssl.hpke.MLKEM1024P384PublicKey16Suite = rust_openssl.hpke.Suite17 18__all__ = [19    "AEAD",20    "KDF",21    "KEM",22    "MLKEM768X25519PrivateKey",23    "MLKEM768X25519PublicKey",24    "MLKEM1024P384PrivateKey",25    "MLKEM1024P384PublicKey",26    "Suite",27]28 
codekingpro/portable-devtools · Team Ai