Cipher modes
- Source:
Methods
(static) getAEADMode(algo, acceptExperimentalGCMopt) → {Object}
Get implementation of the given AEAD mode
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
algo |
enums.aead | ||
acceptExperimentalGCM |
Boolean |
<optional> |
whether to allow the non-standard, legacy |
- Source:
Throws:
-
on invalid algo
- Type
- Error
Returns:
- Type
- Object