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::SHA1

Crypto::SHA1(string): String

sha1 function implementation

Table 1. Parameters

string

String

String to get result of Secure Hash Algorithm 1

Return

Result of sha1

println(Crypto::SHA1("String")); //Will print "3DF63B7ACB0522DA685DAD5FE84B81FDD7B25264"