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

version» Context lines:

pike.git/lib/modules/Crypto.pmod/RSA.pike:1:   /*    * Follow the PKCS#1 standard for padding and encryption.    */      #pike __REAL_VERSION__   #pragma strict_types   #require constant(Crypto.Hash)      inherit Crypto.Sign;    + protected string _sprintf(int t) + { +  return t=='O' && sprintf("%O(%d)", this_program, size*8); + } +    //   // --- Variables and accessors   //      protected Gmp.mpz n; /* modulo */   protected Gmp.mpz e; /* public exponent */   protected Gmp.mpz d; /* private exponent (if known) */   protected int size;      /* Extra info associated with a private key. Not currently used. */