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

version» Context lines:

pike.git/lib/7.8/modules/Crypto.pmod/RSA.pike:1:   /*    * Follow the PKCS#1 standard for padding and encryption.    */      #pike 7.8   #pragma strict_types + #require constant(Crypto.Hash)    - #if constant(Crypto.Hash) -  +    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. */      protected Gmp.mpz p;   protected Gmp.mpz q;   
pike.git/lib/7.8/modules/Crypto.pmod/RSA.pike:389: Inside #if constant(Crypto.Hash)
  //! @[set_encrypt_key], @[set_decrypt_key]   string crypt(string s)   {    return (encrypt_mode ? encrypt(s) : decrypt(s));   }      //! Returns the string @expr{"RSA"@}.   string name() {    return "RSA";   } -  - #else - constant this_program_does_not_exist=1; - #endif +