gpt4 book ai didi

ios - SecKeyGeneratePair 公共(public)指数

转载 作者:可可西里 更新时间:2023-11-01 03:58:14 26 4
gpt4 key购买 nike

在使用 SecKeyGeneratePair 生成 RSA key 对时,是否可以更改默认的公共(public)指数 (e)?

我知道 65537 是一个很好的默认值,所以这只是一个关于它在技术上是否可行的问题。

最佳答案

不,不是。

来自 https://github.com/unofficial-opensource-apple/Security , 安全/sec/Security/SecRSAKey.c:

/* TODO: Add support for kSecPublicExponent parameter. */
static uint8_t e[] = { 0x01, 0x00, 0x01 }; // Default is 65537

关于ios - SecKeyGeneratePair 公共(public)指数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21653624/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com