CMAC
class CMAC extends MAC (View source)
Class providing CMAC functionality
Methods
static string
getAlgorithms(bool $aliases = false, string $prefix = null)
Returns hash algorithms
from
Hash
static
__callStatic(string $name, array $arguments)
Hash magic method for calling static methods
from
Hash
__construct(string $algorithm, string $key)
Create a MAC (used by MAC subclasses - HMAC and CMAC)
from
MAC
Details
in
Hash at line 341
static string
getAlgorithms(bool $aliases = false, string $prefix = null)
Returns hash algorithms
in
Hash at line 348
static bool
hasAlgorithm(string $algorithm)
Finds out whether algorithm exists
in
Hash at line 355
static
__callStatic(string $name, array $arguments)
Hash magic method for calling static methods
in
MAC at line 452
__construct(string $algorithm, string $key)
Create a MAC (used by MAC subclasses - HMAC and CMAC)
in
Hash at line 367
string
getAlgorithmName()
Returns hash algorithm string
in
Hash at line 374
null
update(string $data)
Updates hash
in
Hash at line 380
string
digest()
Return hash digest in raw foramt
in
Hash at line 386
string
hexdigest()
Return hash digest in hex format
in
Hash at line 392
int
getBlockSize()
Returns hash block size
in
Hash at line 398
int
getSize()
Returns hash size