A class encapsulating a SCAN name (similar to JCE conventions)
- http:
-
//www.users.zetnet.co.uk/hopwood/crypto/scan/
this(string algo_spec);
- Parameters
string algo_spec |
A SCAN-format name |
- Returns
- original input string
- Returns
- algorithm name plus any arguments
- Returns
- number of arguments
- Parameters
size_t lower |
is the lower bound |
size_t upper |
is the upper bound |
- Returns
- true if the number of arguments is between lower and upper
const string arg(size_t i);
- Parameters
- Returns
- ith argument
const string arg(size_t i, in string def_value);
- Parameters
size_t i |
which argument |
string def_value |
the default value |
- Returns
- ith argument or the default value
- Parameters
size_t i |
which argument |
size_t def_value |
the default value |
- Returns
- ith argument as an integer, or the default value
- Returns
- cipher mode (if any)
- Returns
- cipher mode padding (if any)