Skip to content
CCPEDIAby Unity Nodes
App Development

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

2 posts214 views1 likesLast activity Dec 2021

  1. bernhardOP

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

  2. Ratko_Veprek 1

    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.