Basic Info | Database | Display | Forms | Monju | Session | Users

array_sign

array_sign($inArray)

Description

array_sign adds a digital signature to an array which may ve validated later.

Parameters

$inArray: The input array. [type:array]

Return Values

On Success: The signed array [type:array] On Failure: False[type:boolean]

Notes

The signature can be found in the array field 'monju_hash' - this is mainly for internal use, although you may feel free to use it as you see fit.

Examples

$arr = array('some', 'datat', 'here'); $signed = array_sign($arr); // we can now validate $signed and make sure no data has changed since it was signed

Dependencies

Nonep

Comments

Support the Docs!

If you notice a mistake in the documentation, instead file a bug report in the issue tracker. Instead use this to add tips and tricks associated with the functions. You can use tags like to keep your comments clear.