SecurityHelper MethodsA Sandcastle Documented Class Library
The SecurityHelper type exposes the following members.
Methods

  NameDescription
Public methodStatic memberGetClearBytes
Decrypts the passed in byte array.
Public methodStatic memberGetClearString
Returns the clear text associated with the given encrypted string.
Private methodStatic memberGetMd5Hash
Returns an MD5 hash using the given arguments.
Public methodStatic memberGetMD5Hash
MD5 Wrapped for checking on file contents.
Private methodStatic memberGetMd5SaltedHash
Creates an MD5 salted hash.
Public methodStatic memberGetMD5SaltedHash
HMACMD5 wrapper for guaranteeing the output is the same and using salted MD5 hash (SHA-1, SHA256, SHA384, SHA512, RIPEMD160)
Public methodStatic memberGetSecureBytes
Encrypts the passed in byte array.
Public methodStatic memberGetSecureString
Returns an encrypted version of the given string.
Public methodStatic memberReadClearFile
Reads and decrypts the data in the given file.
Private methodStatic memberVerifyMd5Hash
Verify a hash against a string.
Public methodStatic memberVerifyMD5Hash
Verifies the MD5 hash against the passed in values.
Private methodStatic memberVerifyMd5SaltedHash
Verifies the input using MD5 salted hash test.
Public methodStatic memberVerifyMD5SaltedHash
Verify the MD5 salted hash against the passed in string value.
Public methodStatic memberWriteSecureFile
Writes an encrypted version of the given data to the file listed by the filePath argument.
Back to Top
See Also