Inheritance: IDigest, IMemoable
Example #1
0
		/**
        * Copy constructor.  We are using copy constructors in place
        * of the object.Clone() interface as this interface is not
        * supported by J2ME.
        */
		public LongDigest(
			LongDigest t)
		{
			xBuf = new byte[t.xBuf.Length];

			CopyIn(t);
		}
        /**
         * Copy constructor.  We are using copy constructors in place
         * of the object.Clone() interface as this interface is not
         * supported by J2ME.
         */
        internal LongDigest(
            LongDigest t)
        {
            xBuf = new byte[t.xBuf.Length];

            CopyIn(t);
        }
Example #3
0
        /**
         * Copy constructor.  We are using copy constructors in place
         * of the object.Clone() interface as this interface is not
         * supported by J2ME.
         */
        public LongDigest(
            LongDigest t)
        {
            xBuf = new byte[t.xBuf.Length];

            CopyIn(t);
        }
Example #4
0
		/**
        * Copy constructor.  We are using copy constructors in place
        * of the object.Clone() interface as this interface is not
        * supported by J2ME.
        */
        internal LongDigest(
			LongDigest t)
		{
			xBuf = new byte[t.xBuf.Length];

			CopyIn(t);
		}
Example #5
0
		protected void CopyIn(LongDigest t)
		{
			Array.Copy(t.xBuf, 0, xBuf, 0, t.xBuf.Length);

			xBufOff = t.xBufOff;
			byteCount1 = t.byteCount1;
			byteCount2 = t.byteCount2;

			H1 = t.H1;
			H2 = t.H2;
			H3 = t.H3;
			H4 = t.H4;
			H5 = t.H5;
			H6 = t.H6;
			H7 = t.H7;
			H8 = t.H8;

			Array.Copy(t.W, 0, W, 0, t.W.Length);
			wOff = t.wOff;
		}
        protected void CopyIn(LongDigest t)
        {
            Array.Copy(t.xBuf, 0, xBuf, 0, t.xBuf.Length);

            xBufOff    = t.xBufOff;
            byteCount1 = t.byteCount1;
            byteCount2 = t.byteCount2;

            H1 = t.H1;
            H2 = t.H2;
            H3 = t.H3;
            H4 = t.H4;
            H5 = t.H5;
            H6 = t.H6;
            H7 = t.H7;
            H8 = t.H8;

            Array.Copy(t.W, 0, W, 0, t.W.Length);
            wOff = t.wOff;
        }
Example #7
0
        protected void CopyIn(LongDigest t)
        {
            Array.Copy(t.xBuf, 0, this.xBuf, 0, t.xBuf.Length);

            this.xBufOff    = t.xBufOff;
            this.byteCount1 = t.byteCount1;
            this.byteCount2 = t.byteCount2;

            this.H1 = t.H1;
            this.H2 = t.H2;
            this.H3 = t.H3;
            this.H4 = t.H4;
            this.H5 = t.H5;
            this.H6 = t.H6;
            this.H7 = t.H7;
            this.H8 = t.H8;

            Array.Copy(t.W, 0, this.W, 0, t.W.Length);
            this.wOff = t.wOff;
        }