Class CryptoHelpers
Inheritance
System.Object
CryptoHelpers
Assembly: AsaLib.dll
Syntax
public static class CryptoHelpers : object
Methods
|
Improve this Doc
View Source
CreateHash(Stream)
Declaration
public static string CreateHash(Stream stream)
Parameters
| Type |
Name |
Description |
| Stream |
stream |
|
Returns
| Type |
Description |
| System.String |
|
|
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(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 |
|