Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Utilities.ToPaddedArray C# (CSharp) Method

ToPaddedArray() public static method

Gets the byte representation of n that is padded to match the byte length of length.
public static ToPaddedArray ( this n, int length ) : byte[]
n this
length int
return byte[]
        public static byte[] ToPaddedArray(this BigInteger n, int length)
        {
            return GetPadded(n, length);
        }
    }