\PrivateBinFormatV2

FormatV2

Provides validation function for version 2 format of pastes & comments.

Summary

Methods
Properties
Constants
isValid()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

isValid()

isValid(array  $message, boolean  $isComment = false) : boolean

version 2 format validator

Checks if the given array is a proper version 2 formatted, encrypted message.

Parameters

array $message
boolean $isComment

Returns

boolean