# README
Internal Module
These modules are used by other http://github.com/opentdf/ projects, and are not intended for use elsewhere.
# Functions
Base64Decode Decode the data using base64 decoding.
Base64Encode Encode the data to base64 encoding.
CalculateHKDF generate a key using key derivation function.
CalculateSHA256 Calculate the SHA256 checksum of the data(32 bytes).
CalculateSHA256Hmac Calculate the hmac of the data with given secret.
CompressedECPublicKey - return a compressed key from the supplied curve and public key.
ComputeECDHKey calculate shared secret from public key from one party and the private key from another party.
No description provided by the author
No description provided by the author
ComputeECDSASig compute ecdsa signature.
ConvertToECDHPrivateKey convert the ec private key to ECDH private key.
ConvertToECDHPublicKey convert the ec public key to ECDH public key.
ECPrivateKeyFromPem generate ec private from pem format.
ECPrivateKeyInPemFormat Returns private key in pem format.
ECPubKeyFromPem generate ec public from pem format.
ECPublicKeyInPemFormat Returns public key in pem format.
No description provided by the author
GetECCurveFromECCMode return elliptic curve from ecc mode.
NewAESGcm creates and returns a new AesGcm.
NewAsymDecryption creates and returns a new AsymDecryption.
NewAsymEncryption creates and returns a new AsymEncryption.
NewECKeyPair Generates an EC key pair of the given bit size.
NewRSAKeyPair Generates an RSA key pair of the given bit size.
RandomBytes Generates random bytes of given size.
SHA256AsHex Calculate the SHA256 checksum of the data and return in hex format(64 bytes).
SHA256HmacAsHex Calculate the hmac of the data with given secret and return in hex format.
UncompressECPubKey create EC public key from compressed form.
VerifyECDSASig verify ecdsa signature.
# Constants
DefaultNonceSize The default nonce size for the TDF3 encryption.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author