1Crypto.secureHash(3kaya) Kaya module reference Crypto.secureHash(3kaya)
2
3
4
6 Crypto::secureHash - Generate a secure hash from a String.
7
9 String secureHash( String pwd )
10
12 pwd The String to hash
13
15 Use the SHA256 algorithm to generate a secure hash from a String, for
16 example for encrypting passwords. Unlike the other Crypto(3kaya) func‐
17 tions, this function is not application-dependent.
18
20 Kaya standard library by Edwin Brady, Chris Morris and others
21 (kaya@kayalang.org). For further information see http://kayalang.org/
22
24 The Kaya standard library is free software; you can redistribute it
25 and/or modify it under the terms of the GNU Lesser General Public
26 License (version 2.1 or any later version) as published by the Free
27 Software Foundation.
28
29
30
31Kaya December 2010 Crypto.secureHash(3kaya)