Class CryptoHelpers
Inheritance
System.Object
CryptoHelpers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AsaLib.dll
Syntax
public static class CryptoHelpers
Methods
|
Improve this Doc
View Source
CreateHash(Byte[])
Declaration
public static byte[] CreateHash(byte[] input)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
input |
|
Returns
| Type |
Description |
| System.Byte[] |
|
|
Improve this Doc
View Source
CreateHash(Stream)
Declaration
public static string CreateHash(Stream stream)
Parameters
| Type |
Name |
Description |
| System.IO.Stream |
stream |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
CreateHash(String)
Declaration
public static string CreateHash(string input)
Parameters
| Type |
Name |
Description |
| System.String |
input |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetRandomPositiveDouble(Double)
Declaration
public static double GetRandomPositiveDouble(double max)
Parameters
| Type |
Name |
Description |
| System.Double |
max |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
GetRandomPositiveIndex(Int32)
Declaration
public static int GetRandomPositiveIndex(int max)
Parameters
| Type |
Name |
Description |
| System.Int32 |
max |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
GetRandomString(Int32)
Declaration
public static string GetRandomString(int characters)
Parameters
| Type |
Name |
Description |
| System.Int32 |
characters |
|
Returns
| Type |
Description |
| System.String |
|