Cryptography Class extending Object

/ This is the Cryptography class it is responsible for all things cryptography including encryption and hashing /

Class Methods


Hashes the given string with the sha256 algorithm.
Returned is the hashed representation of the given string

function sha256(string input) : string


Hashes the given string with the sha1 algorithm.
Returned is the hashed representation of the given string

function sha1(string input) : string