Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/If I use Tink in Canton, how do I specify which cryptographic algorithm is used?Forum ↗

If I use Tink in Canton, how do I specify which cryptographic algorithm is used?

App Development2 posts188 views1 likesLast activity Dec 2021
BE
bernhardOP
Dec 2021

If I use Tink in Canton, how do I specify which cryptographic algorithm is used?

RA
Ratko_Veprek
Dec 2021

You can customize the crypto configurations of a node using the CryptoConfig:

https://www.canton.io/docs/dev/scaladoc/com/digitalasset/canton/config/CryptoConfig.html

This is more the setting where you define the capabilities and libraries of a node. However, which crypto methods are used on a domain is defined through domain parameters:

https://www.canton.io/docs/dev/scaladoc/com/digitalasset/canton/domain/config/DomainParametersConfig.html

Generally, a participant can only connect to a domain if it supports all the crypto schemes the domain requires.

However, we strive for safe defaults and therefore recommend you to not touch these config options.

← Back to Discussions