Renci.SshNet.Security.Cryptography.Ciphers.CipherPadding.Pad C# (CSharp) Méthode

Pad() public méthode

Pads the specified input with a given number of bytes.
public Pad ( byte input, int paddinglength ) : byte[]
input byte The input.
paddinglength int The number of bytes to pad the input with.
Résultat byte[]
        public byte[] Pad(byte[] input, int paddinglength)
        {
            return Pad(input, 0, input.Length, paddinglength);
        }

Same methods

CipherPadding::Pad ( byte input, int offset, int length, int paddinglength ) : byte[]
CipherPadding::Pad ( int blockSize, byte input ) : byte[]
CipherPadding::Pad ( int blockSize, byte input, int offset, int length ) : byte[]
CipherPadding