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.