AlgorithmFactory.prototypeBlockCipher

Prototypical block cipher retrieval by name, it must be cloned to be used

class AlgorithmFactory
prototypeBlockCipher
(
in string algo_spec
,
in string provider = ""
)

Parameters

algo_spec string

the algorithm we want

provider string

the provider we would like to use

Return Value

Type: const(BlockCipher)

pointer to const prototype object, ready to clone(), or NULL

Meta