MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetCipherDirection

Function GetCipherDirection

src/cryptopp/cryptlib.h:817–817  ·  view source on GitHub ↗

\brief Provides the direction of the cipher \return ENCRYPTION if IsForwardTransformation() is true, DECRYPTION otherwise \sa IsForwardTransformation(), IsPermutation()

Source from the content-addressed store, hash-verified

815 //! \return ENCRYPTION if IsForwardTransformation() is true, DECRYPTION otherwise
816 //! \sa IsForwardTransformation(), IsPermutation()
817 inline CipherDir GetCipherDirection() const {return IsForwardTransformation() ? ENCRYPTION : DECRYPTION;}
818};
819
820//! \class StreamTransformation

Callers 1

UncheckedSetKeyMethod · 0.85

Calls 1

IsForwardTransformationFunction · 0.70

Tested by

no test coverage detected