MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / generate_keys

Method generate_keys

ciphers/hill_cipher.cpp:424–436  ·  view source on GitHub ↗

* @brief Generate encryption and decryption key pair * * @param size size of matrix key (typically \f$\text{size}\le10\f$) * @param limit1 lower limit of range of random elements (default=0) * @param limit2 upper limit of range of random elements (default=10) * @return std::pair , matrix > encryption and decryption * keys as a pair * * @see ::

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

determinant_luFunction · 0.85

Tested by

no test coverage detected