Package-level declarations

Core primitives for creating and accessing CryptographyAlgorithm and CryptographyProvider.

Types

Link copied to clipboard

Represents a binary size as a number of bits, with conversions to bytes.

Link copied to clipboard

Marker interface for cryptographic algorithm definitions.

Link copied to clipboard

Uniquely identifies a CryptographyAlgorithm and is used to look it up from a CryptographyProvider.

Link copied to clipboard

Main entry point for obtaining cryptographic algorithm implementations.

Link copied to clipboard
@RequiresOptIn(message = "API of everything what is implemented in providers is experimental for now and subject to change (if possible in backward-compatible way)", level = RequiresOptIn.Level.ERROR)
annotation class CryptographyProviderApi

Marks APIs intended for cryptography provider implementations.

Link copied to clipboard

Manages global cryptography configuration: the default provider, provider registry, and default random.

Link copied to clipboard
@RequiresOptIn(message = "API marked with this annotation should be used only when you know what you are doing. Avoid usage of such declarations as much as possible. They are provided mostly for backward compatibility with older services that require them.", level = RequiresOptIn.Level.ERROR)
annotation class DelicateCryptographyApi

Marks APIs that require careful consideration before use.