cryptal  latest
Cryptography Abstraction Layer
MacEnum.php
1 <?php
2 
3 namespace fpoirotte\Cryptal;
4 
6 
10 final class MacEnum implements \Serializable
11 {
12  use EnumTrait;
13 
15  private $MAC_CMAC;
16 
18  private $MAC_HMAC;
19 
21  private $MAC_PMAC;
22 
24  private $MAC_POLY1305;
25 
27  private $MAC_UMAC_32;
28 
30  private $MAC_UMAC_64;
31 
33  private $MAC_UMAC_96;
34 
36  private $MAC_UMAC_128;
37 }
$MAC_UMAC_32
Universal hashing-based MAC with 32-bit output.
Definition: MacEnum.php:27
$MAC_UMAC_128
Universal hashing-based MAC with 128-bit output.
Definition: MacEnum.php:36
$MAC_CMAC
Block-cipher-based MAC (also known as One-Key MAC v1 [OMAC1])
Definition: MacEnum.php:15
$MAC_UMAC_64
Universal hashing-based MAC with 64-bit output.
Definition: MacEnum.php:30
$MAC_HMAC
Keyed-hash MAC.
Definition: MacEnum.php:18
$MAC_PMAC
Parallelizable MAC.
Definition: MacEnum.php:21
$MAC_POLY1305
Poly1305 Message Authenticator.
Definition: MacEnum.php:24
$MAC_UMAC_96
Universal hashing-based MAC with 96-bit output.
Definition: MacEnum.php:33