https://github.com/airen3339/sha256withrsa
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (0.9%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: airen3339
- Language: C++
- Default Branch: main
- Size: 5.86 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 2 years ago
· Last pushed over 2 years ago
Metadata Files
Readme
README.md
Sha256withRSA
Python2.7
预先安装 pycrypto
shell
# pip install pycrypto
Java
Java 私钥使用 PKCS#8 格式,这是和 python、C++ 不同的,后两者都使用 PKCS#1 格式的私钥,但是公钥都使用 PKCS#8 格式均没问题
C++
网上还有一种实现 sha256 with rsa 的方案,是使用 openssl 封装好的 rsasign, rsaverify 函数。但测试发现 rsasign 签名结果虽然可以被 rsaverify 验证,但是相同参数但情况下的签名结果与 java 和 python 不同,因此无法在不同语言之间互操作。因此建议使用本仓库中的实现方式。
node.js
私钥使用 PKCS#8 格式,程序同级目录需放置私钥文件和公钥文件。
Owner
- Login: airen3339
- Kind: user
- Repositories: 187
- Profile: https://github.com/airen3339