Skip to main content

odin_crypto_create

struct OdinCipher *odin_crypto_create(const char *version);

Overview

Creates a new default ODIN cipher instance initialized with the specified version.

Parameters

NameTypeDescription
versionconst char *The crypto version string (use ODIN_CRYPTO_VERSION).

Return Value

TypeDescription
OdinCipher *Handle to the created cipher, or NULL on failure.