Getting Started > Use Lua Scripts > Method Reference > Document Methods

Document Methods
create_uuid
Creates a universally unique identifier.
Syntax
String create_uuid()
Returns
A universally unique identifier.
encrypt_security_field
Encrypts the ACL.
Syntax
String encrypt_security_field (String ACL)
Arguments
 
Returns
An encrypted string.
hash_file
Hashes the specified file using the SHA1 or MDA5 algorithm, or both.
Syntax
String, [String] hash_file (String FileName, String Algorithm1, [String Algorithm2])
Arguments
 
Returns
The hashed file.