Ejemplo n.º 1
0
        //
        // Imports a hexadecimal string into a BigInt bit representation.
        //

        internal void FromHexadecimal(string hexNum)
        {
            byte[] hex = X509Utils.DecodeHexString(hexNum);
            Array.Reverse(hex);
            int size = Utils.GetHexArraySize(hex);

            Array.Copy(hex, m_elements, size);
            this.Size = size;
        }