Fabcoin Core  0.16.2
P2P Digital Currency
Protected Member Functions | List of all members
SAFER_Impl< BASE, INFO, STR > Class Template Reference

SAFER block cipher default implementation. More...

#include <safer.h>

Inheritance diagram for SAFER_Impl< BASE, INFO, STR >:
[legend]
Collaboration diagram for SAFER_Impl< BASE, INFO, STR >:
[legend]

Protected Member Functions

bool Strengthened () const
 

Additional Inherited Members

- Public Member Functions inherited from BlockCipherImpl< INFO, BASE >
unsigned int BlockSize () const
 Provides the block size of the algorithm. More...
 
- Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > > >
std::string AlgorithmName () const
 
- Public Member Functions inherited from SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > >
size_t MinKeyLength () const
 The minimum key length used by the algorithm. More...
 
size_t MaxKeyLength () const
 The maximum key length used by the algorithm. More...
 
size_t DefaultKeyLength () const
 The default key length used by the algorithm. More...
 
size_t GetValidKeyLength (size_t keylength) const
 Provides a valid key length for the algorithm. More...
 
SimpleKeyingInterface::IV_Requirement IVRequirement () const
 The default IV requirements for the algorithm. More...
 
unsigned int IVSize () const
 The default initialization vector length for the algorithm. More...
 
- Static Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > > >
static std::string CRYPTOPP_API StaticAlgorithmName ()
 

Detailed Description

template<class BASE, class INFO, bool STR>
class SAFER_Impl< BASE, INFO, STR >

SAFER block cipher default implementation.

Template Parameters
BASESAFER::Enc or SAFER::Dec derived base class
INFOSAFER_Info derived class
STRflag indicating a strengthened implementation

SAFER-K is not strengthened; while SAFER-SK is strengthened.

Definition at line 59 of file safer.h.

Member Function Documentation

template<class BASE , class INFO , bool STR>
bool SAFER_Impl< BASE, INFO, STR >::Strengthened ( ) const
inlineprotected

Definition at line 62 of file safer.h.


The documentation for this class was generated from the following file: