Pau*_*rer 6 macos security-framework ios
是否可以在使用SecKeyGeneratePair
?生成RSA密钥对时更改默认公共指数(e)?
我知道65537是一个很好的默认值,所以这只是一个关于它是否在技术上可行的问题.
不,这不对。
来自https://github.com/unofficial-opensource-apple/Security,Security/sec/Security/SecRSAKey.c:
/* TODO: Add support for kSecPublicExponent parameter. */
static uint8_t e[] = { 0x01, 0x00, 0x01 }; // Default is 65537
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
420 次 |
最近记录: |