PKCS 系列标准

2017-03-20  本文已影响78人  flow__啊

作用

Public-Key Cryptography Standards(公钥密码学标准)

PKCS#1

结构

structs RSAPublicKey
{
    modulus        int   //n
    publicExponent  int  //e   公钥指数
}

structs RSAPrivateKey
{
    Version             
    modulus             int  //n
    publicExponent      int  //e 公钥指数
    privateExponent     int  //d 私钥指数
    prime1              int  //p  素数一
    prime2              int  //q  素数二
    exponent1           int  //d mod(p-1)
    exponent2           int  //d mod(q-1)
    coefficient         int  // (inverse of q)mod p
    otherprimeinfos     //fuck that
    
    
    
}


PCKS#1 ~11 略

PKCS#12

上一篇下一篇

猜你喜欢

热点阅读