Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​DeriveBytes
Assembly: System.Security.Cryptography
Inheritance: object → DeriveBytes
Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit.
Methods
public
void
Dispose​()
When overridden in a derived class, releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.DeriveBytes" /> class.
protected
void
Dispose​(bool disposing)
disposing
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.
When overridden in a derived class, releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.DeriveBytes" /> class and optionally releases the managed resources.
public
byte[]
GetBytes​(int cb)
cb
The number of pseudo-random key bytes to generate.
Returns A byte array filled with pseudo-random key bytes.
When overridden in a derived class, returns pseudo-random key bytes.
public
void
Reset​()
When overridden in a derived class, resets the state of the operation.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object