Name

DeriveBytes

Synopsis

public abstract class DeriveBytes {
// Protected Constructors
   protected DeriveBytes(  );
// Public Instance Methods
   public abstract byte[  ] GetBytes(int cb);
   public abstract void Reset(  );
}

This abstract class is the basis for implementations that derive byte sequences from input data. For example, the .NET Framework class library includes the PasswordDeriveBytes class, which derives a cryptographic key from an easily remembered password.

The GetBytes( ) method derives a number of bytes from the input, where the number of bytes to derive is specified as the methods argument.

Subclasses

PasswordDeriveBytes

Get Programming .NET Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.