# Packages
Package random provides functions that generate random numbers or bytes.
# Functions
ComputeHash calculates a hash of the given data using the given hash function.
ComputeHKDF extracts a pseudorandom key.
ComputeSharedSecretX25519 returns the 32-byte shared key, i.e.
ConvertCurveName converts different forms of a curve name to the name that tink recognizes.
ConvertHashName converts different forms of a hash name to the hash name that tink recognizes.
GeneratePrivateKeyX25519 generates a new 32-byte private key.
GetCurve returns the curve object that corresponds to the given curve type.
GetHashDigestSize returns the digest size of the specified hash algorithm.
GetHashFunc returns the corresponding hash function of the given hash name.
NewBigIntFromHex returns a big integer from a hex string.
PublicFromPrivateX25519 computes privKey's corresponding public key.