Module tink_core::utils

source ·
Expand description

Utilities for Tink Rust code.

Some of these utilities are not idiomatic Rust, but are included to make the process of translating code from other languages (e.g. Go) easier.

Structs

  • Error type for errors emitted by Tink. Note that errors from cryptographic operations are necessarily uninformative, to avoid information leakage.

Functions

  • Wrap an error with an additional message. This utility is intended to help with porting Go code to Rust, to cover patterns like: