Code example for Cipher

Methods: update

0
        } 
 
        public void process(byte[] in, int off, int len, byte[] out, int off_out)
                throws CraiException { 
            try { 
                mCipher.update(in, off, len, out, off_out);
            } catch (GeneralSecurityException x) {
                throw new CraiException("cipher " + mJavaName
                        + " process error: " + x);
            } 
        } 
 
        private String mJavaName;
        private Cipher mCipher;
    } 
 
    public CraiRandom getPRNG() { 
        return mCraiRandom;
    } 
 
    public CraiPrivateKey makePrivateRSAKey(BigInteger n, BigInteger d,