全部搜尋項
bianca  ]
[ 原始碼: python-ntruprime  ]

套件:python3-ntruprime(0~20241021.4-4)

python3-ntruprime 的相關連結

Screenshot

下載原始碼套件 python-ntruprime

維護小組:

外部的資源:

相似套件:

microlibrary for Streamlined NTRU Prime - Python wrapper

Python wrapper around implementation of the Streamlined NTRU Prime cryptosystem. The Python API for ntruprime provides the functions: sntrup{653,761,857,953,1013,1277}.keypair() sntrup{653,761,857,953,1013,1277}.enc() sntrup{653,761,857,953,1013,1277}.dec()

The library has a very simple stateless API. As an example, the following script creates a key pair, creates a ciphertext and session key, and then recovers the session key from the ciphertext:

import ntruprime kem = ntruprime.sntrup1277 pk, sk = kem.keypair() c, k = kem.enc(pk) assert k == kem.dec(c, sk)

其他與 python3-ntruprime 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-ntruprime

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 7。5 kB34。0 kB [檔案列表]