pike.git / lib / 7.8 / modules / Crypto.pmod / RSA.pike

version» Context lines:

pike.git/lib/7.8/modules/Crypto.pmod/RSA.pike:124:    return this;   }      //! Returns the crypto block size, or zero if not yet set.   int query_blocksize() {    if(!size) return 0;    return size - 3;   }      //! Pads the @[message] to the current block size with method @[type] - //! and returns the result as an integer. This is equvivalent to + //! and returns the result as an integer. This is equivalent to   //! OS2IP(EME-PKCS1-V1_5-ENCODE(message)) in PKCS-1.   //! @param type   //! @int   //! @value 1   //! The message is padded with @expr{0xff@} bytes.   //! @value 2   //! The message is padded with random data, using the @[random]   //! function if provided. Otherwise   //! @[Crypto.Random.random_string] will be used.   //! @endint