Packages that use Mac 
| Package | Description | 
| javax.crypto | Provides the classes and interfaces for cryptographic
 operations. | 
 
- 
Methods in javax.crypto that return Mac 
| Modifier and Type | Method | Description |  
| static Mac | Mac. getInstance(String algorithm) | Returns a Macobject that implements the
 specified MAC algorithm. |  
| static Mac | Mac. getInstance(String algorithm,
String provider) | Returns a Macobject that implements the
 specified MAC algorithm. |  
| static Mac | Mac. getInstance(String algorithm,
Provider provider) | Returns a Macobject that implements the
 specified MAC algorithm. |