This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

Crypto::SHA256

Crypto::SHA256(string): String

sha256 function implementation

Table 1. Parameters

string

String

String to get result of Secure Hash Algorithm 256

Return

Result of sha256

println(Crypto::SHA256("String")); //Will print "B2EF230E7F4F315A28CDCC863028DA31F7110F3209FEB76E76FED0F37B3D8580"