Module nash_protocol::utils[][src]

Expand description

Miscellaneous helper functions

Functions

Format Nash MPC r value as hex in the way Nash ME expects

Format BigInt signature values as hex in the way Nash ME expects

Get current time in millis as an i64 for GraphQL timestamps

Produce DER encoding in bytes for secp256k1 signature

Hash ethereum data with keccak

Hash NEO message (FIXME: move)

Pad numerical string with zeros to the desired precision. Required for Nash Me backend