C# Class PERMWebSolution.Models.HelperMethods

Class for static methods that must be access as needed. Feel free to add new ones.
Mostrar archivo Open project: VK-EIF/PERM-WEB-SOURCE

Public Methods

Method Description
generateRandomString ( ) : string

Method for generating new session id

sha256Encrypt ( string value ) : string

Encrypts string with SHA256 algorithm

Method Details

generateRandomString() public static method

Method for generating new session id
public static generateRandomString ( ) : string
return string

sha256Encrypt() public static method

Encrypts string with SHA256 algorithm
public static sha256Encrypt ( string value ) : string
value string String to be encrypted
return string