Click or drag to resize

CryptoHelper Methods

The CryptoHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberComputeMD5Bytes(Byte)
Computes the MD5 hash for a byte array and returns the result as a byte array.
Public methodStatic memberComputeMD5Bytes(Stream)
Computes the MD5 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeMD5Bytes(String)
Computes the MD5 hash for a string and returns the result as a byte array.
Public methodStatic memberComputeMD5String(Byte)
Computes the MD5 hash for a byte array and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeMD5String(Stream)
Computes the MD5 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeMD5String(String)
Computes the MD5 hash for a string and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA1Bytes(Byte)
Computes the SHA1 hash for a byte array and returns the result as a byte array.
Public methodStatic memberComputeSHA1Bytes(Stream)
Computes the SHA1 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA1Bytes(String)
Computes the SHA1 hash for a string and returns the result as a byte array.
Public methodStatic memberComputeSHA1String(Byte)
Computes the SHA1 hash for a byte array and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA1String(Stream)
Computes the SHA1 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA1String(String)
Computes the SHA1 hash for a string and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA256Bytes(Byte)
Computes the SHA256 hash for a byte array and returns the result as a byte array.
Public methodStatic memberComputeSHA256Bytes(Stream)
Computes the SHA256 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA256Bytes(String)
Computes the SHA256 hash for a string and returns the result as a byte array.
Public methodStatic memberComputeSHA256String(Byte)
Computes the SHA256 hash for a byte array and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA256String(Stream)
Computes the SHA256 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA256String(String)
Computes the SHA256 hash for a string and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA512Bytes(Byte)
Computes the SHA512 hash for a byte array and returns the result as a byte array.
Public methodStatic memberComputeSHA512Bytes(Stream)
Computes the SHA512 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA512Bytes(String)
Computes the SHA512 hash for a string and returns the result as a byte array.
Public methodStatic memberComputeSHA512String(Byte)
Computes the SHA512 hash for a byte array and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA512String(Stream)
Computes the SHA512 hash for a stream from the current position' until the end and returns the result formatted as a lowercase hex string.
Public methodStatic memberComputeSHA512String(String)
Computes the SHA512 hash for a string and returns the result formatted as a lowercase hex string.
Public methodStatic memberDeriveKeyFromPassword
Generates a symmetric encryption key from a password string.
Top
See Also